X Tutup
Skip to content

Commit db74830

Browse files
committed
chore: make gh status clickable
Adding https:// to githubstatus.com to make it clickable on terminal emulators
1 parent c84bfa9 commit db74830

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/gh/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ func printError(out io.Writer, err error, cmd *cobra.Command, debug bool) {
251251
if debug {
252252
fmt.Fprintln(out, dnsError)
253253
}
254-
fmt.Fprintln(out, "check your internet connection or githubstatus.com")
254+
fmt.Fprintln(out, "check your internet connection or https://githubstatus.com")
255255
return
256256
}
257257

cmd/gh/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func Test_printError(t *testing.T) {
4343
debug: false,
4444
},
4545
wantOut: `error connecting to api.github.com
46-
check your internet connection or githubstatus.com
46+
check your internet connection or https://githubstatus.com
4747
`,
4848
},
4949
{

0 commit comments

Comments
 (0)
X Tutup