We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 861b361 commit 2aae317Copy full SHA for 2aae317
index.js
@@ -4,7 +4,7 @@ var engine = require('./engine');
4
var conventionalCommitTypes = require('conventional-commit-types');
5
var configLoader = require('commitizen').configLoader;
6
7
-var config = configLoader.load();
+var config = configLoader.load() || {};
8
var options = {
9
types: conventionalCommitTypes.types,
10
defaultType: process.env.CZ_TYPE || config.defaultType,
0 commit comments