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 89b9a03 commit e02c705Copy full SHA for e02c705
src/commitizen/adapter.js
@@ -116,6 +116,8 @@ function getPrompter(adapterPath) {
116
117
if(adapter && adapter.prompter && isFunction(adapter.prompter)) {
118
return adapter.prompter;
119
+ } else if (adapter && adapter.default && adapter.default.prompter && isFunction(adapter.default.prompter)) {
120
+ return adapter.default.prompter;
121
} else {
122
throw "Could not find prompter method in the provided adapter module: " + adapterPath;
123
}
0 commit comments