Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc6d9da

Browse files
committed
Fix error scope
1 parent d8b4e88 commit fc6d9da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/login_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestLogin(t *testing.T) {
2929
root.SetIn(console.Tty())
3030
root.SetOut(console.Tty())
3131
go func() {
32-
err = root.Execute()
32+
err := root.Execute()
3333
require.NoError(t, err)
3434
}()
3535

0 commit comments

Comments
 (0)