diff --git a/lib/config/load.js b/lib/config/load.js index 25a1b7f7..13b7aeba 100644 --- a/lib/config/load.js +++ b/lib/config/load.js @@ -179,6 +179,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 @@ -186,4 +187,4 @@ function loadFile(options, config, dir, ready) { }); -} \ No newline at end of file +}