We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f80f76 commit 64fef51Copy full SHA for 64fef51
1 file changed
src/cli.js
@@ -66,8 +66,12 @@ if (!packageConfig && !doprConfig) {
66
}
67
68
// Backward compat.
69
-packageConfig.file = ensureArray(packageConfig.file);
70
-doprConfig.file = ensureArray(doprConfig.file);
+if (packageConfig) {
+ packageConfig.file = ensureArray(packageConfig.file);
71
+}
72
+if (doprConfig) {
73
+ doprConfig.file = ensureArray(doprConfig.file);
74
75
76
// Construct configuration
77
const mergedConfig = deepAssign({}, defaultConfig, packageConfig, doprConfig);
0 commit comments