mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
🐛 Fix issue setting passphrase correctly (#1966)
This commit is contained in:
parent
bac13ba821
commit
1b46ea5d30
|
@ -320,7 +320,7 @@ export class Ssh implements INodeType {
|
||||||
privateKey: path,
|
privateKey: path,
|
||||||
} as any; // tslint:disable-line: no-any
|
} as any; // tslint:disable-line: no-any
|
||||||
|
|
||||||
if (!credentials.passphrase) {
|
if (credentials.passphrase) {
|
||||||
options.passphrase = credentials.passphrase as string;
|
options.passphrase = credentials.passphrase as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue