chore: make gh status clickable

Adding https:// to githubstatus.com to make it clickable on terminal emulators
This commit is contained in:
Mahdyar Hasanpour 2021-08-22 18:01:55 +04:30
parent c84bfa9e66
commit db74830e64
No known key found for this signature in database
GPG key ID: D09B15A12F772867
2 changed files with 2 additions and 2 deletions

View file

@ -251,7 +251,7 @@ func printError(out io.Writer, err error, cmd *cobra.Command, debug bool) {
if debug {
fmt.Fprintln(out, dnsError)
}
fmt.Fprintln(out, "check your internet connection or githubstatus.com")
fmt.Fprintln(out, "check your internet connection or https://githubstatus.com")
return
}

View file

@ -43,7 +43,7 @@ func Test_printError(t *testing.T) {
debug: false,
},
wantOut: `error connecting to api.github.com
check your internet connection or githubstatus.com
check your internet connection or https://githubstatus.com
`,
},
{