Skip to content

Commit 26047c3

Browse files
WORMSSjasnell
authored andcommitted
lib: fix typo in comments in module.js
A minor typo in comments, no logic changes. PR-URL: #12528 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Cai <davidcai1993@yahoo.com> Reviewed-By: Jeremy Whitlock <jwhitlock@apache.org>
1 parent 439b35a commit 26047c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ if (process.platform === 'win32') {
265265
// The path segment separator check ('\' and '/') was used to get
266266
// node_modules path for every path segment.
267267
// Use colon as an extra condition since we can get node_modules
268-
// path for dirver root like 'C:\node_modules' and don't need to
269-
// parse driver name.
268+
// path for drive root like 'C:\node_modules' and don't need to
269+
// parse drive name.
270270
if (code === 92/*\*/ || code === 47/*/*/ || code === 58/*:*/) {
271271
if (p !== nmLen)
272272
paths.push(from.slice(0, last) + '\\node_modules');

0 commit comments

Comments
 (0)