Skip to content

Commit

Permalink
async cb
Browse files Browse the repository at this point in the history
  • Loading branch information
gaojude committed Nov 4, 2024
1 parent deeb535 commit 68fb764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/next-modes/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export class NextInstance {
typeof content === 'function' ? content(previousContent) : content
)

await retry(() => {
await retry(async () => {
const logAfterWriteFile = this.cliOutput.slice(logLengthBeforeWriteFile)
if (!/ ✓ Compiled /.test(logAfterWriteFile)) {
throw new Error('Compile has not finished; throw to retry')
Expand Down

0 comments on commit 68fb764

Please sign in to comment.