X Tutup
Skip to content

Commit 0d48e8d

Browse files
committed
linter appeasement
1 parent bf3585c commit 0d48e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmdutil/auth_check_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ func Test_CheckAuth(t *testing.T) {
2121
{
2222
name: "host, no token",
2323
cfg: func(c config.Config) {
24-
c.Set("github.com", "oauth_token", "")
24+
_ = c.Set("github.com", "oauth_token", "")
2525
},
2626
expected: false,
2727
},
2828
{
2929
name: "host, token",
3030
cfg: func(c config.Config) {
31-
c.Set("github.com", "oauth_token", "a token")
31+
_ = c.Set("github.com", "oauth_token", "a token")
3232
},
3333
expected: true,
3434
},

0 commit comments

Comments
 (0)
X Tutup