Skip to content

Commit

Permalink
fix(adapter): Don't print git root to stdout (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
markhalliwell authored and jimthedev committed May 9, 2017
1 parent bc39af3 commit d5e2424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commitizen/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ function resolveAdapterPath (inboundAdapterPath) {
}

function getGitRootPath () {
return sh.exec('git rev-parse --show-toplevel').stdout.trim();
return sh.exec('git rev-parse --show-toplevel', {silent: true}).stdout.trim();
}

0 comments on commit d5e2424

Please sign in to comment.