Skip to content

Commit

Permalink
Amend dynamically load main and supplemental files
Browse files Browse the repository at this point in the history
Ref #21
Ref #22
  • Loading branch information
rxaviers committed Sep 18, 2015
1 parent 7865e6f commit b4ffc4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -33,7 +33,7 @@ function flatten(obj) {
}

function jsonFiles(dirName) {
var fileList = _fs.readdirSync(dirName);
var fileList = _fs.readdirSync(_path.join(__dirname, dirName));

return fileList.reduce(function(sum, file) {
if (JSON_EXTENSION.test(file)) {
Expand Down

0 comments on commit b4ffc4b

Please sign in to comment.