Verbose output (#145)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-05-13 02:37:07 +02:00 committed by GitHub
parent 6fa8014eb2
commit bec28bbdd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

4
dist/index.js generated vendored
View File

@ -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');
}

View File

@ -52,7 +52,7 @@ export async function setConfig(key: string, value: string): Promise<void> {
}
export async function add(pattern: string): Promise<void> {
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<void> {
@ -79,7 +79,7 @@ export async function showStat(): Promise<string> {
export async function push(remoteURL: string, branch: string, force: boolean): Promise<void> {
let args: Array<string> = [];
args.push('push', '--quiet');
args.push('push');
if (force) {
args.push('--force');
}