Skip to content

Commit 6e6e63a

Browse files
WORMSSMylesBorins
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 33821e4 commit 6e6e63a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/module.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ if (process.platform === 'win32') {
250250
// The path segment separator check ('\' and '/') was used to get
251251
// node_modules path for every path segment.
252252
// Use colon as an extra condition since we can get node_modules
253-
// path for dirver root like 'C:\node_modules' and don't need to
254-
// parse driver name.
253+
// path for drive root like 'C:\node_modules' and don't need to
254+
// parse drive name.
255255
if (code === 92/*\*/ || code === 47/*/*/ || code === 58/*:*/) {
256256
if (p !== nmLen)
257257
paths.push(from.slice(0, last) + '\\node_modules');

0 commit comments

Comments
 (0)