renamed CLI

This commit is contained in:
Kasra Bigdeli
2019-01-06 23:13:38 -08:00
parent a7e33f3947
commit f0396b99ea
24 changed files with 93 additions and 93 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ class DeployHelper {
if (fs.pathExistsSync(zipFileFullPath))
fs.removeSync(zipFileFullPath);
if (!commandExistsSync('git')) {
StdOutUtil_1.default.printError("'git' command not found...\nCaptain needs 'git' to create tar file of your source files...", true);
reject("Captain needs 'git' to create tar file of your source files...");
StdOutUtil_1.default.printError("'git' command not found...\nCapRover needs 'git' to create tar file of your source files...", true);
reject("CapRover needs 'git' to create tar file of your source files...");
return;
}
child_process_1.exec(`git archive --format tar --output "${zipFileFullPath}" ${branchToPush}`, (err, stdout, stderr) => {