mirror of
https://github.com/caprover/caprover
synced 2026-09-27 09:05:43 +00:00
renamed CLI
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user