diff options
author | Minteck <contact@minteck.org> | 2023-01-22 09:56:52 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-01-22 09:56:52 +0100 |
commit | a29f11cb9cd7a505b46a36fc922baf09d90c1004 (patch) | |
tree | 0857183a476c8f28e0c33f44278ef640cbd75652 | |
parent | 8a7bba848fd392e5afcc85d285dac613e393a6e2 (diff) | |
download | autopush-mane.tar.gz autopush-mane.tar.bz2 autopush-mane.zip |
-rwxr-xr-x | autopush | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |