We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70850d2 commit 4fa2e4aCopy full SHA for 4fa2e4a
lib/node-modules-paths.js
100644
100755
@@ -37,7 +37,7 @@ module.exports = function nodeModulesPaths(start, opts) {
37
38
var dirs = paths.reduce(function (dirs, aPath) {
39
return dirs.concat(modules.map(function (moduleDir) {
40
- return path.join(prefix, aPath, moduleDir);
+ return path.resolve(prefix, aPath, moduleDir);
41
}));
42
}, []);
43
0 commit comments