Skip to content

Commit

Permalink
fix(load): Prevent the configuration file from being loaded twice
Browse files Browse the repository at this point in the history
  • Loading branch information
feego committed May 9, 2019
1 parent 4e0f228 commit 8762944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rc-config-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function findConfig({ parts, loaderByExt, configFileName, packageJSON, packageJS
continue;
}
return {
config: loader(configLocation),
config: result,
filePath: configLocation
};
}
Expand Down

0 comments on commit 8762944

Please sign in to comment.