We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d48e8d commit 3ef5687Copy full SHA for 3ef5687
cmd/gh/main.go
@@ -52,7 +52,6 @@ func main() {
52
}
53
54
cmd, _, err := rootCmd.Traverse(expandedArgs)
55
- _, skipAuthCheck := cmd.Annotations["skipAuthCheck"]
56
if err != nil || cmd == rootCmd {
57
originalArgs := expandedArgs
58
isShell := false
@@ -94,6 +93,8 @@ func main() {
94
93
95
96
+ _, skipAuthCheck := cmd.Annotations["skipAuthCheck"]
97
+
98
// TODO support other names
99
ghtoken := os.Getenv("GITHUB_TOKEN")
100
if ghtoken != "" {
0 commit comments