Skip to content

Commit cbdf9a9

Browse files
WORMSSevanlucas
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 <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: David Cai <[email protected]> Reviewed-By: Jeremy Whitlock <[email protected]>
1 parent 989d344 commit cbdf9a9

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
@@ -251,8 +251,8 @@ if (process.platform === 'win32') {
251251
// The path segment separator check ('\' and '/') was used to get
252252
// node_modules path for every path segment.
253253
// Use colon as an extra condition since we can get node_modules
254-
// path for dirver root like 'C:\node_modules' and don't need to
255-
// parse driver name.
254+
// path for drive root like 'C:\node_modules' and don't need to
255+
// parse drive name.
256256
if (code === 92/*\*/ || code === 47/*/*/ || code === 58/*:*/) {
257257
if (p !== nmLen)
258258
paths.push(from.slice(0, last) + '\\node_modules');

0 commit comments

Comments
 (0)