Skip to content

Commit 1232c56

Browse files
committed
lint: fixed 'unconvert' false positive
The conversion is required for GOOS=windows
1 parent a59b4b6 commit 1232c56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/login/login.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func run(cmd *cobra.Command, args []string) {
8080

8181
if passwordEmpty {
8282
fmt.Print("Password: ")
83-
pass, err := terminal.ReadPassword(int(syscall.Stdin))
83+
pass, err := terminal.ReadPassword(int(syscall.Stdin)) // nolint:unconvert
8484
if err != nil {
8585
formatter.PrintError(err, "Cannot read password, login aborted.")
8686
return

0 commit comments

Comments
 (0)