Skip to content

Commit

Permalink
fix: pass Infinity instead of 0 to setMaxListeners()
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Aug 19, 2024
1 parent 9d8d4b8 commit 7746ea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ class AsyncEvents extends EventEmitter {
};

// Set our maxListeners to something more reasonable for lando
AsyncEvents.prototype.setMaxListeners(0);
AsyncEvents.prototype.setMaxListeners(Infinity);

module.exports = AsyncEvents;

0 comments on commit 7746ea9

Please sign in to comment.