File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -365,7 +365,6 @@ var CONFIG_SYNTAX_HELP = ' module.exports = function(config) {\n' +
365365var parseConfig = function ( configFilePath , cliOptions ) {
366366 var configModule
367367 if ( configFilePath ) {
368- log . debug ( 'Loading config %s' , configFilePath )
369368
370369 try {
371370 configModule = require ( configFilePath )
@@ -397,7 +396,6 @@ var parseConfig = function (configFilePath, cliOptions) {
397396 return process . exit ( 1 )
398397 }
399398 } else {
400- log . debug ( 'No config file specified.' )
401399 // if no config file path is passed, we define a dummy config module.
402400 configModule = function ( ) { }
403401 }
@@ -441,6 +439,12 @@ var parseConfig = function (configFilePath, cliOptions) {
441439 // configure the logger as soon as we can
442440 logger . setup ( config . logLevel , config . colors , config . loggers )
443441
442+ if ( configFilePath ) {
443+ log . debug ( 'Loading config %s' , configFilePath )
444+ } else {
445+ log . debug ( 'No config file specified.' )
446+ }
447+
444448 return normalizeConfig ( config , configFilePath )
445449}
446450
You can’t perform that action at this time.
0 commit comments