mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix fs/fspath reference
This commit is contained in:
parent
e8fd7484b6
commit
2ed52820b6
@ -118,7 +118,7 @@ function generateSSHKey(username, options) {
|
|||||||
var password = options.password || "";
|
var password = options.password || "";
|
||||||
var size = options.size || 2048;
|
var size = options.size || 2048;
|
||||||
var sshKeyFileBasename = username + '_' + name;
|
var sshKeyFileBasename = username + '_' + name;
|
||||||
var privateKeyFilePath = fs.normalize(fspath.join(sshkeyDir, sshKeyFileBasename));
|
var privateKeyFilePath = fspath.normalize(fspath.join(sshkeyDir, sshKeyFileBasename));
|
||||||
return generateSSHKeyPair(name, privateKeyFilePath, comment, password, size)
|
return generateSSHKeyPair(name, privateKeyFilePath, comment, password, size)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user