Skip to content

Commit d5e2424

Browse files
markhalliwelljimthedev
authored andcommitted
fix(adapter): Don't print git root to stdout (#428)
1 parent bc39af3 commit d5e2424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/commitizen/adapter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,5 @@ function resolveAdapterPath (inboundAdapterPath) {
150150
}
151151

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

0 commit comments

Comments
 (0)