diff --git a/index.js b/index.js index 5bb78ee..1130a78 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,7 @@ module.exports = function(dir, basenames) { } else { basenames.forEach(function(basename) { - var filepath = path.join(dir, basename) + var filepath = path.join(dir, basename); requires[basename] = require(filepath); }); }