Changed the output string to "Using your github token". (#814)

This commit is contained in:
Paul Mossman
2021-01-21 02:10:33 -05:00
committed by GitHub
parent dd35bfd1a1
commit 2acd1cafd0

View File

@@ -62,7 +62,7 @@ func NewClient() Client {
var client *http.Client
githubToken := os.Getenv("GITHUB_TOKEN")
if githubToken != "" {
log.Logger.Info("Use your github token")
log.Logger.Info("Using your github token")
ctx := context.Background()
ts := oauth2.StaticTokenSource(&oauth2.Token{AccessToken: githubToken})
client = oauth2.NewClient(ctx, ts)