1
0
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:
Nick O'Leary 2018-02-27 11:11:02 +00:00
parent e8fd7484b6
commit 2ed52820b6
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -118,7 +118,7 @@ function generateSSHKey(username, options) {
var password = options.password || "";
var size = options.size || 2048;
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)
}
})