Fix parsing of --description for issue/pr create #371

Merged
6543 merged 3 commits from noerw/tea:fix/pr-description into master 2021-07-03 15:23:38 +00:00
Showing only changes of commit 2ba2abeef0 - Show all commits

View File

@ -55,7 +55,7 @@ func readSSHPrivKey(keyFile string, passwordCallback pwCallback) (sig ssh.Signer
}
sshKey, err := ioutil.ReadFile(keyFile)
if err != nil {
return nil, err
return nil, fmt.Errorf("can not read ssh key '%s'", keyFile)
}
sig, err = ssh.ParsePrivateKey(sshKey)
if _, ok := err.(*ssh.PassphraseMissingError); ok && passwordCallback != nil {