Skip to content

Commit

Permalink
chore: improve fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Nov 8, 2022
1 parent 32b7c88 commit c1380cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/resolve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ function tryResolveFile(
const resolved = resolvePackageEntry(file, pkg, targetWeb, options)
return resolved
} catch (e) {
if (e.code !== 'ENOENT' && e.code !== 'EACCES') {
if (e.code !== 'ENOENT') {
throw e
}
}
Expand Down

0 comments on commit c1380cd

Please sign in to comment.