Skip to content

Commit

Permalink
fix(commit): fix commit to allow --verbose flag
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jimthedev committed Mar 9, 2016
1 parent 78c8a08 commit b810db7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli/parsers/git-cz.js
Expand Up @@ -39,6 +39,8 @@ function parse(rawGitArgs) {
if (key === '_' && value.length > 0) {
// Anything in the _ array of strings is a one off file
output += value.join(' ') + ' ';
} else if (key === 'verbose') {
output += '--verbose ';
} else if (key === 'message') {
/**
* We strip out message because we're already handling this
Expand Down

0 comments on commit b810db7

Please sign in to comment.