Skip to content

Commit 1ddbeec

Browse files
committed
module: fix typo in comments
A minor typo in comments, no logic changes.
1 parent d8965d5 commit 1ddbeec

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)