Skip to content

Commit

Permalink
chore: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 17, 2023
1 parent 2abe014 commit 6e884b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ipx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ export function createIPX(userOptions: IPXOptions): IPX {
}
const _maxAge = sourceMeta.maxAge ?? options.maxAge;
return {
maxAge: typeof _maxAge === "string" ? parseInt(_maxAge) : _maxAge,
maxAge:
typeof _maxAge === "string" ? Number.parseInt(_maxAge) : _maxAge,
mtime: sourceMeta.mtime ? new Date(sourceMeta.mtime) : undefined,
} satisfies IPXSourceMeta;
});
Expand Down

0 comments on commit 6e884b3

Please sign in to comment.