Skip to content

Commit

Permalink
[lint] fix listener warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Nov 17, 2024
1 parent b5d8e75 commit d25db7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/lint/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ async function runConcurrently(
parentPrefix = '',
procs = new Set<Subprocess>(),
) {
// Ensure the "MaxListenersExceededWarning" is not logged.
process.stdout.setMaxListeners(1000)
process.stderr.setMaxListeners(1000)

await Promise.all(
commands.map(async cmd => {
if (!cmd) {
Expand Down

0 comments on commit d25db7e

Please sign in to comment.