We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33821e4 commit 6e6e63aCopy full SHA for 6e6e63a
lib/module.js
@@ -250,8 +250,8 @@ if (process.platform === 'win32') {
250
// The path segment separator check ('\' and '/') was used to get
251
// node_modules path for every path segment.
252
// Use colon as an extra condition since we can get node_modules
253
- // path for dirver root like 'C:\node_modules' and don't need to
254
- // parse driver name.
+ // path for drive root like 'C:\node_modules' and don't need to
+ // parse drive name.
255
if (code === 92/*\*/ || code === 47/*/*/ || code === 58/*:*/) {
256
if (p !== nmLen)
257
paths.push(from.slice(0, last) + '\\node_modules');
0 commit comments