We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d5b1ce commit 9915ea0Copy full SHA for 9915ea0
src/pre-git.js
@@ -270,9 +270,15 @@ function getWizardName() {
270
log('using wizard name', config.wizard);
271
return config.wizard;
272
}
273
- if (check.unemptyString(config['commit-msg'])) {
274
- log('using config commit-msg property', config['commit-msg']);
275
- return config['commit-msg'];
+
+ const value = config['commit-msg'];
+ if (check.unemptyString(value)) {
276
+ log('using config commit-msg property', value);
277
+ return value;
278
+ }
279
+ if (check.array(value) && value.length === 1) {
280
+ log('using config commit-msg single value', value);
281
+ return value[0];
282
283
284
0 commit comments