diff options
-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); |