You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fmt.Fprintln(w, "The GITHUB_TOKEN environment variable is required. Create a Personal Access Token at https://github.com/settings/tokens/new?scopes=repo")
23
+
fmt.Fprintln(w, "Make sure to enable SSO for your organizations after creating the token.")
varerrTokenMissing=errors.New("GITHUB_TOKEN is missing")
55
-
56
-
funcexplainError(w io.Writer, errerror) {
57
-
iferrors.Is(err, errTokenMissing) {
58
-
fmt.Fprintln(w, "The GITHUB_TOKEN environment variable is required. Create a Personal Access Token at https://github.com/settings/tokens/new?scopes=repo")
59
-
fmt.Fprintln(w, "Make sure to enable SSO for your organizations after creating the token.")
60
-
return
61
-
}
62
-
}
55
+
varErrTokenMissing=errors.New("GITHUB_TOKEN is missing")
63
56
64
57
// initLightstep parses the --lightstep=service:token@host:port flag and
0 commit comments