diff --git a/lib/config/load.js b/lib/config/load.js index 94b560ed..5422f67b 100644 --- a/lib/config/load.js +++ b/lib/config/load.js @@ -182,6 +182,7 @@ function loadFile(options, config, dir, ready) { } catch (e) { console.error(e); utils.log.fail('Failed to parse config ' + filename); + process.exit(1); } // options values will overwrite settings @@ -189,4 +190,4 @@ function loadFile(options, config, dir, ready) { }); -} \ No newline at end of file +}