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
1 changed files with 1 additions and 1 deletions

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)
}
})