Commit 1232c56b authored by Cristian Maglie's avatar Cristian Maglie

lint: fixed 'unconvert' false positive

The conversion is required for GOOS=windows
parent a59b4b6a
......@@ -80,7 +80,7 @@ func run(cmd *cobra.Command, args []string) {
if passwordEmpty {
fmt.Print("Password: ")
pass, err := terminal.ReadPassword(int(syscall.Stdin))
pass, err := terminal.ReadPassword(int(syscall.Stdin)) // nolint:unconvert
if err != nil {
formatter.PrintError(err, "Cannot read password, login aborted.")
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment