diff --git a/lib/module.js b/lib/module.js index d485c7c9a804a3..338a3fd8bf798b 100644 --- a/lib/module.js +++ b/lib/module.js @@ -251,8 +251,8 @@ if (process.platform === 'win32') { // The path segment separator check ('\' and '/') was used to get // node_modules path for every path segment. // Use colon as an extra condition since we can get node_modules - // path for dirver root like 'C:\node_modules' and don't need to - // parse driver name. + // path for drive root like 'C:\node_modules' and don't need to + // parse drive name. if (code === 92/*\*/ || code === 47/*/*/ || code === 58/*:*/) { if (p !== nmLen) paths.push(from.slice(0, last) + '\\node_modules');