Skip to content

Commit

Permalink
ci: Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
0michalsokolowski0 committed Aug 26, 2024
1 parent eb7599f commit ea6692c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cmd/profile/login_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func loginUsingAPIKey(reader *bufio.Reader, creds *session.StoredCredentials) er
creds.KeyID = strings.TrimSpace(keyID)

fmt.Print("Enter API key secret: ")
keySecret, err := term.ReadPassword(syscall.Stdin)
keySecret, err := term.ReadPassword(int(syscall.Stdin)) //nolint: unconvert
if err != nil {
return err
}
Expand All @@ -156,7 +156,7 @@ func loginUsingAPIKey(reader *bufio.Reader, creds *session.StoredCredentials) er
func loginUsingGitHubAccessToken(creds *session.StoredCredentials) error {
fmt.Print("Enter GitHub access token: ")

accessToken, err := term.ReadPassword(syscall.Stdin)
accessToken, err := term.ReadPassword(int(syscall.Stdin)) //nolint: unconvert
if err != nil {
return err
}
Expand Down

0 comments on commit ea6692c

Please sign in to comment.