Skip to content

Commit

Permalink
Don't return early
Browse files Browse the repository at this point in the history
  • Loading branch information
tillson committed May 10, 2020
1 parent 59a6153 commit b3d27a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func LoginToGitHub(credentials GitHubCredentials) (httpClient *http.Client, err
log.Fatalf("can't open /dev/tty: %s", err)
}
fmt.Println(resp.Request.URL)
return nil, nil

fmt.Printf("Enter your GitHub 2FA code: ")
scanner := bufio.NewScanner(tty)
_ = scanner.Scan()
Expand Down

0 comments on commit b3d27a8

Please sign in to comment.