Skip to content

Commit

Permalink
chore: remove unnecessary type assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Dec 9, 2024
1 parent 609bfe0 commit fb994af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/node/__tests__/build.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ describe('onRollupLog', () => {
logger: Logger,
options?: Pick<RollupOptions, 'onLog' | 'onwarn'>,
) => {
return (await build({
await build({
root: resolve(__dirname, 'packages/build-project'),
logLevel: 'info',
build: {
Expand All @@ -801,7 +801,7 @@ describe('onRollupLog', () => {
},
},
],
})) as RollupOutput
})
}

const callOnRollupLog = async (
Expand Down

0 comments on commit fb994af

Please sign in to comment.