Fixed broken promise

This commit is contained in:
Kasra Bigdeli
2019-04-07 10:47:00 -07:00
parent 8fc4770819
commit 83a04d18f9

View File

@@ -50,7 +50,7 @@ class GitHelper {
return Promise.resolve() //
.then(function() {
fs.outputFile(SSH_KEY_PATH, sshKey + '')
return fs.outputFile(SSH_KEY_PATH, sshKey + '')
})
.then(function() {
return exec(