From 2ed52820b6e6a0105c1715a37cd13935bc207f72 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 27 Feb 2018 11:11:02 +0000 Subject: [PATCH] Fix fs/fspath reference --- red/runtime/storage/localfilesystem/projects/ssh/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/red/runtime/storage/localfilesystem/projects/ssh/index.js b/red/runtime/storage/localfilesystem/projects/ssh/index.js index e13188987..4188b07ce 100644 --- a/red/runtime/storage/localfilesystem/projects/ssh/index.js +++ b/red/runtime/storage/localfilesystem/projects/ssh/index.js @@ -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) } })