summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-01-22 09:56:52 +0100
committerMinteck <contact@minteck.org>2023-01-22 09:56:52 +0100
commita29f11cb9cd7a505b46a36fc922baf09d90c1004 (patch)
tree0857183a476c8f28e0c33f44278ef640cbd75652
parent8a7bba848fd392e5afcc85d285dac613e393a6e2 (diff)
downloadautopush-a29f11cb9cd7a505b46a36fc922baf09d90c1004.tar.gz
autopush-a29f11cb9cd7a505b46a36fc922baf09d90c1004.tar.bz2
autopush-a29f11cb9cd7a505b46a36fc922baf09d90c1004.zip
Updated autopush (automated)HEADmane
-rwxr-xr-xautopush6
1 files changed, 4 insertions, 2 deletions
diff --git a/autopush b/autopush
index cdb43ef..61b3ce3 100755
--- a/autopush
+++ b/autopush
@@ -24,7 +24,7 @@ function exec(name, args, options) {
}
(async () => {
- const version = "1.1";
+ const version = "1.2";
const ora = (await import("ora")).default;
const chalk = require('chalk');
@@ -195,7 +195,9 @@ function exec(name, args, options) {
await exec("git", ["remote", "add", "origin", response2.value], { cwd: root });
spinner.text = chalk.gray("[" + file + "] ") + "Pushing to remote...";
- await exec("git", ["push", "--all", "origin"], { cwd: root });
+ await exec("git", ["push", "--all", "origin"], { cwd: root })
+
+ spinner.succeed(chalk.gray("[" + file + "] ") + "Completed");
completed = true;
} catch (e) {
spinner.fail(chalk.gray("[" + file + "] ") + e.message);