Commit 3a661373 authored by Mattia Bertorello's avatar Mattia Bertorello

Fixed all the problem reported by unconvert

parent c244d866
......@@ -33,6 +33,5 @@ linters:
- megacheck
- nakedret
- prealloc
- unconvert
- unparam
- varcheck
......@@ -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(syscall.Stdin)
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