From bec28bbdd0e567c60e73f4b7ef1e030115e81660 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 13 May 2021 02:37:07 +0200 Subject: [PATCH] Verbose output (#145) Co-authored-by: CrazyMax --- dist/index.js | 4 ++-- src/git.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index b612826..e8f87fa 100644 --- a/dist/index.js +++ b/dist/index.js @@ -167,7 +167,7 @@ function setConfig(key, value) { exports.setConfig = setConfig; function add(pattern) { return __awaiter(this, void 0, void 0, function* () { - yield exec.exec('git', ['add', '--all', pattern]); + yield exec.exec('git', ['add', '--verbose', '--all', pattern]); }); } exports.add = add; @@ -200,7 +200,7 @@ exports.showStat = showStat; function push(remoteURL, branch, force) { return __awaiter(this, void 0, void 0, function* () { let args = []; - args.push('push', '--quiet'); + args.push('push'); if (force) { args.push('--force'); } diff --git a/src/git.ts b/src/git.ts index ada5280..174130c 100644 --- a/src/git.ts +++ b/src/git.ts @@ -52,7 +52,7 @@ export async function setConfig(key: string, value: string): Promise { } export async function add(pattern: string): Promise { - await exec.exec('git', ['add', '--all', pattern]); + await exec.exec('git', ['add', '--verbose', '--all', pattern]); } export async function commit(allowEmptyCommit: boolean, author: string, message: string): Promise { @@ -79,7 +79,7 @@ export async function showStat(): Promise { export async function push(remoteURL: string, branch: string, force: boolean): Promise { let args: Array = []; - args.push('push', '--quiet'); + args.push('push'); if (force) { args.push('--force'); }