Skip to content

Commit 7695931

Browse files
author
Mattia Bertorello
committed
Fixed all the problem reported by unconvert
1 parent 55ca1eb commit 7695931

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.golangci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,5 @@ linters:
3333
- megacheck
3434
- nakedret
3535
- prealloc
36-
- unconvert
3736
- unparam
3837
- varcheck

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(syscall.Stdin)
8484
if err != nil {
8585
formatter.PrintError(err, "Cannot read password, login aborted.")
8686
return

0 commit comments

Comments
 (0)