Skip to content

Commit

Permalink
chore: update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jul 17, 2022
1 parent 9c952b5 commit 905d9cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/plugins/resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@ export function tryNodeResolve(
}
}

// Resolved or not, we're done with this nodeModulesDir
// since we found a package.
// Reset the `pkgId` variable since we use it later on
// and no package.json was found here.
pkgId = undefined
continue
}
Expand Down

0 comments on commit 905d9cc

Please sign in to comment.