summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);