Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = function(options) {
requireFn = require;
}

configObject = (typeof config === 'string') ? require(config) : config;
configObject = (typeof config === 'string') ? requireFn(config) : config;

if(!configObject) {
throw new Error('Could not find dependencies. Do you have a package.json file in your project?');
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"Connor Peet",
"Dorian Camilleri",
"Carlos Henrique",
"iamfrontender <[email protected]>"
"iamfrontender <[email protected]>",
"mwessner"
],
"license": "MIT",
"dependencies": {
Expand Down