We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db27590 commit 93d20ccCopy full SHA for 93d20cc
src/actions/config.js
@@ -50,6 +50,9 @@ export function validateConfig(config) {
50
if (typeof config.getIn(['backend', 'name']) !== 'string') {
51
throw new Error("Error in configuration file: Your `backend.name` must be a string. Check your config.yml file.");
52
}
53
+ if (!isBoolean(config.getIn(['backend', 'squash_merges'], false))) {
54
+ throw new Error("Error in configuration file: Your `backend.squash_merges` must be a boolean. Check your config.yml file.");
55
+ }
56
if (!config.get('media_folder')) {
57
throw new Error("Error in configuration file: A `media_folder` wasn\'t found. Check your config.yml file.");
58
0 commit comments