Verbose output (#145)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
6fa8014eb2
commit
bec28bbdd0
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user