Skip to content

Commit

Permalink
flakey tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Oct 19, 2023
1 parent d94c575 commit 70a8304
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/next/src/build/collect-build-traces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,11 +406,9 @@ export async function collectBuildTraces({
return await fs.readFile(p, 'utf8')
} catch (e) {
if (isError(e) && (e.code === 'ENOENT' || e.code === 'EISDIR')) {
// handle temporary internal webpack files
if (p.match(/static[/\\]media/)) {
return ''
}
return null
}
throw e
}
Expand Down

0 comments on commit 70a8304

Please sign in to comment.