Skip to content

Commit b810db7

Browse files
committed
fix(commit): fix commit to allow --verbose flag
verbose was broken due to needing two dashes. This is a hotfix for specifically this command. We may need some further fixes for options to be added. Closes #103
1 parent 78c8a08 commit b810db7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cli/parsers/git-cz.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ function parse(rawGitArgs) {
3939
if (key === '_' && value.length > 0) {
4040
// Anything in the _ array of strings is a one off file
4141
output += value.join(' ') + ' ';
42+
} else if (key === 'verbose') {
43+
output += '--verbose ';
4244
} else if (key === 'message') {
4345
/**
4446
* We strip out message because we're already handling this

0 commit comments

Comments
 (0)