We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad1a14d commit 2cce475Copy full SHA for 2cce475
test/github_repository_test.go
@@ -6,11 +6,9 @@ import (
6
"testing"
7
)
8
9
-var githubOrganization, githubToken string
10
-
11
func init() {
12
- githubOrganization = os.Getenv("GITHUB_ORGANIZATION")
13
- githubToken = os.Getenv("GITHUB_TOKEN")
+ githubOrganization := os.Getenv("GITHUB_ORGANIZATION")
+ githubToken := os.Getenv("GITHUB_TOKEN")
14
15
if githubOrganization == "" {
16
panic("Please set a github organization using the GITHUB_ORGANIZATION environment variable.")
0 commit comments