Skip to content

Commit

Permalink
always await
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Oct 13, 2023
1 parent 2537e68 commit 039c267
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/next/src/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2844,7 +2844,8 @@ export default async function build(
console.error(err)
process.exit(1)
})
} else if (buildTracesPromise) {
}
if (buildTracesPromise) {
await buildTracesPromise
}

Expand Down

0 comments on commit 039c267

Please sign in to comment.