diff --git a/lib/load-config.js b/lib/load-config.js index 19674f3..1610747 100644 --- a/lib/load-config.js +++ b/lib/load-config.js @@ -1,7 +1,9 @@ +'use strict'; + var loadConfig = require('load-config-file'); // loadConfig.register('.json', JSON.parse); -loadConfig.register(['.json', '.js'], function(ctx, opt, file){ +loadConfig.register(['.json', '.js'], function(ctx, opt, file) { return require(file); });