Skip to content

Commit

Permalink
Update ioutils.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sverdlov93 authored Sep 3, 2023
1 parent c077270 commit de2b734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/ioutils/ioutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func ScanJFrogPasswordFromConsole() (string, error) {

func ScanPasswordFromConsole(message string) (string, error) {
fmt.Print(coreutils.PrintLink(message))
bytePassword, err := term.ReadPassword(int(syscall.Stdin)) //nolint:unconvert
bytePassword, err := term.ReadPassword(int(syscall.Stdin))

Check failure on line 44 in utils/ioutils/ioutils.go

View workflow job for this annotation

GitHub Actions / Static-Check

unnecessary conversion (unconvert)

Check failure on line 44 in utils/ioutils/ioutils.go

View workflow job for this annotation

GitHub Actions / Static-Check

unnecessary conversion (unconvert)
if err != nil {
return "", errorutils.CheckError(err)
}
Expand Down

0 comments on commit de2b734

Please sign in to comment.