Commit e7cdf18b authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

Merge pull request #1622 from technosophos/fix/syscall-as-int

fix(helm): fix prompt error on Windows build
parents 2460bd8c f9b37957
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment