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

Commit b2a4ffc

Browse files
chirayukjuliemr
authored andcommitted
fix(configParser): always return "this" from addFileConfig
1 parent 1908670 commit b2a4ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/configParser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ ConfigParser.prototype.addConfig_ = function(additionalConfig, relativeTo) {
133133
*/
134134
ConfigParser.prototype.addFileConfig = function(filename) {
135135
if (!filename) {
136-
return;
136+
return this;
137137
}
138138
var filePath = path.resolve(process.cwd(), filename);
139139
var fileConfig = require(filePath).config;

0 commit comments

Comments
 (0)