Skip to content

Commit

Permalink
fix error must be any
Browse files Browse the repository at this point in the history
  • Loading branch information
remorses committed Sep 1, 2022
1 parent 0d786a7 commit c8e0668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/build/utils.ts
Expand Up @@ -1373,8 +1373,8 @@ export async function copyTracedFiles(
if (symlink) {
try {
await fs.symlink(symlink, fileOutputPath)
} catch (e: Error) {
if (e['code'] !== 'EEXIST') {
} catch (e: any) {
if (e.code !== 'EEXIST') {
throw e
}
}
Expand Down

0 comments on commit c8e0668

Please sign in to comment.