Skip to content

Commit

Permalink
fix staticcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed May 10, 2020
1 parent 900eea9 commit 2978c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/github/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func setupGitHubClient() *github.Client {
ts := oauth2.StaticTokenSource(
&oauth2.Token{AccessToken: token},
)
tc := oauth2.NewClient(oauth2.NoContext, ts)
tc := oauth2.NewClient(context.TODO(), ts)
return github.NewClient(tc)
}

Expand Down

0 comments on commit 2978c68

Please sign in to comment.