From cbdf9a90d1faad19943343dbac1adc279f69a57c Mon Sep 17 00:00:00 2001 From: WORMSS Date: Thu, 20 Apr 2017 09:05:43 +0100 Subject: [PATCH] lib: fix typo in comments in module.js A minor typo in comments, no logic changes. PR-URL: https://github.com/nodejs/node/pull/12528 Reviewed-By: Benjamin Gruenbaum Reviewed-By: Michael Dawson Reviewed-By: Sakthipriyan Vairamani Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: David Cai Reviewed-By: Jeremy Whitlock --- lib/module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');