Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Nov 11, 2024
1 parent 4a028e1 commit 684a89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vitest/src/node/pools/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ export function createMethodsRPC(project: WorkspaceProject, options: MethodsOpti
// serialize rollup error on server to preserve details as a test error
function handleRollupError(e: unknown): never {
if (
e instanceof Error &&
('plugin' in e || 'frame' in e || 'id' in e || 'loc' in e)
e instanceof Error
&& ('plugin' in e || 'frame' in e || 'id' in e)
) {
// eslint-disable-next-line no-throw-literal
throw {
Expand Down

0 comments on commit 684a89a

Please sign in to comment.