Skip to content

Commit

Permalink
qa-control
Browse files Browse the repository at this point in the history
  • Loading branch information
emilioplatzer committed Apr 3, 2016
1 parent 2e126a8 commit 5a7d67b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mini-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ MiniTools.readConfig = function readConfig(listOfFileNamesOrConfigObjects, opts)
}
}).then(function(pair){
return Promises.start(function(){
return MiniTools.readConfig.exts[pair.ext](pair.fileName)
return MiniTools.readConfig.exts[pair.ext](pair.fileName);
}).catch(function(err){
if(err.code==='ENOENT' && opts.whenNotExist==='ignore'){
return {};
};
}
throw err;
});
});
Expand Down

0 comments on commit 5a7d67b

Please sign in to comment.