Skip to content

Commit

Permalink
Verbose output (#145)
Browse files Browse the repository at this point in the history
Co-authored-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max and crazy-max authored May 13, 2021
1 parent 6fa8014 commit bec28bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand All @@ -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');
}
Expand Down

0 comments on commit bec28bb

Please sign in to comment.