From 2908645182cc01dafbed59b9a11ad74e9f5c87f5 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 ea7d61325772..da5ddd872d06 100644 --- a/lib/module.js +++ b/lib/module.js @@ -250,8 +250,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');