Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(configParser): always return "this" from addFileConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
chirayuk authored and juliemr committed Mar 11, 2014
1 parent 1908670 commit b2a4ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/configParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ ConfigParser.prototype.addConfig_ = function(additionalConfig, relativeTo) {
*/
ConfigParser.prototype.addFileConfig = function(filename) {
if (!filename) {
return;
return this;
}
var filePath = path.resolve(process.cwd(), filename);
var fileConfig = require(filePath).config;
Expand Down

0 comments on commit b2a4ffc

Please sign in to comment.