Skip to content

Commit

Permalink
chore: simplify catch
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain committed Oct 12, 2023
1 parent b96cb3a commit c3b64ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/interface/src/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const CustomEvent = globalThis.CustomEvent ?? CustomEventPolyfill
export const setMaxListeners: typeof nodeSetMaxListeners = (n, ...eventTargets) => {
try {
nodeSetMaxListeners(n, ...eventTargets)
} catch (e) {
} catch {
// swallow error, gulp
}
}

0 comments on commit c3b64ce

Please sign in to comment.