Skip to content

Commit 621f6a2

Browse files
committed
minor
1 parent c02b396 commit 621f6a2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/cmd/factory/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func httpClient(io *iostreams.IOStreams, cfg config.Config, appVersion string, s
3131
token, err := cfg.Get(hostname, "oauth_token")
3232
if err != nil || token == "" {
3333
// Users shouldn't see this because of the pre-execute auth check on commands
34-
return "", fmt.Errorf("authentication required for %s; please run `gh auth login -h%s", hostname, hostname)
34+
return "", fmt.Errorf("authentication required for %s; please run `gh auth login -h %s", hostname, hostname)
3535
}
3636

3737
return fmt.Sprintf("token %s", token), nil

pkg/cmd/root/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) *cobra.Command {
9898
return &cmdutil.FlagError{Err: err}
9999
})
100100

101-
// TODO does this make sense? I'd like people to be able to see usage without an auth message.
102101
cmdutil.DisableAuthCheck(cmd)
103102

104103
// CHILD COMMANDS

0 commit comments

Comments
 (0)