🐛 Fix issue setting passphrase correctly (#1966)

This commit is contained in:
Ricardo Espinoza 2021-07-04 12:57:53 -04:00 committed by GitHub
parent bac13ba821
commit 1b46ea5d30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -320,7 +320,7 @@ export class Ssh implements INodeType {
privateKey: path,
} as any; // tslint:disable-line: no-any
if (!credentials.passphrase) {
if (credentials.passphrase) {
options.passphrase = credentials.passphrase as string;
}