fix(helm): fix prompt error on Windows build

This backs out an earlier change that removed an int type assertion.
pull/1622/head
Matt Butcher 8 years ago
parent 2460bd8ce4
commit f9b37957d9
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

@ -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…
Cancel
Save