Skip to content

Commit

Permalink
Fix typo (return vs throw)
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Sep 24, 2024
1 parent 2c1067a commit 2655008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/esbuild-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function detectPhase(build: PluginBuild): 'bundling' | 'other' {
if (plugins.includes('vite:dep-pre-bundle')) {
return 'bundling';
} else {
throw 'other';
return 'other';
}
}

Expand Down

0 comments on commit 2655008

Please sign in to comment.