Skip to content

Commit fb7b544

Browse files
Nate Smithprobablycorey
andauthored
Update command/root.go
Co-Authored-By: Corey Johnson <probablycorey@gmail.com>
1 parent 3aaa231 commit fb7b544

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

command/root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ var apiClientForContext = func(ctx context.Context) (*api.Client, error) {
151151
getAuthValue := func() string {
152152
return fmt.Sprintf("token %s", token)
153153
}
154+
154155
checkScopesFunc := func(appID string) error {
155156
if config.IsGitHubApp(appID) && utils.IsTerminal(os.Stdin) && utils.IsTerminal(os.Stderr) {
156157
newToken, loginHandle, err := config.AuthFlow("Notice: additional authorization required")

0 commit comments

Comments
 (0)