Skip to content

Commit

Permalink
module: fix typo in comments
Browse files Browse the repository at this point in the history
A minor typo in comments, no logic changes.
  • Loading branch information
WORMSS committed Apr 20, 2017
1 parent d8965d5 commit 1ddbeec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,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');
Expand Down

0 comments on commit 1ddbeec

Please sign in to comment.