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.
node-modules-paths
1 parent 1354943 commit 14d08beCopy full SHA for 14d08be
lib/node-modules-paths.js
100644
100755
@@ -18,7 +18,7 @@ var getNodeModulesDirs = function getNodeModulesDirs(absoluteStart, modules) {
18
19
return paths.reduce(function (dirs, aPath) {
20
return dirs.concat(modules.map(function (moduleDir) {
21
- return path.join(prefix, aPath, moduleDir);
+ return path.resolve(prefix, aPath, moduleDir);
22
}));
23
}, []);
24
};
0 commit comments