Space issue in path while deploying fix

This commit is contained in:
Sidharth Vinod
2017-12-25 22:16:34 +05:30
committed by GitHub
parent ea53179392
commit 142dc445c7
+1 -1
View File
@@ -168,7 +168,7 @@ function deployTo(machineToDeploy, branchToPush, appName) {
console.log(zipFileFullPath);
console.log(' ');
exec('git archive --format tar --output ' + zipFileFullPath + ' ' + branchToPush, function (err, stdout, stderr) {
exec('git archive --format tar --output "' + zipFileFullPath + '" ' + branchToPush, function (err, stdout, stderr) {
if (err) {
console.log(chalk.red('TAR file failed'));
console.log(chalk.red(err + ' '));