From 1ddbeec0845332bc195c7854a2561f5dd1f90af7 Mon Sep 17 00:00:00 2001 From: WORMSS Date: Thu, 20 Apr 2017 09:05:43 +0100 Subject: [PATCH] module: fix typo in comments A minor typo in comments, no logic changes. --- lib/module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/module.js b/lib/module.js index c4576a4bbdd654..5899b1ae6bad1a 100644 --- a/lib/module.js +++ b/lib/module.js @@ -265,8 +265,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');