mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Merge pull request #1622 from technosophos/fix/syscall-as-int
fix(helm): fix prompt error on Windows build
This commit is contained in:
commit
e7cdf18b5c
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ func (p *packageCmd) clearsign(filename string) error {
|
|||
// promptUser implements provenance.PassphraseFetcher
|
||||
func promptUser(name string) ([]byte, error) {
|
||||
fmt.Printf("Password for key %q > ", name)
|
||||
pw, err := terminal.ReadPassword(syscall.Stdin)
|
||||
pw, err := terminal.ReadPassword(int(syscall.Stdin))
|
||||
fmt.Println()
|
||||
return pw, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue