summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiran Tal <liran.tal@gmail.com>2023-07-29 13:15:21 +0300
committerGitHub <noreply@github.com>2023-07-29 13:15:21 +0300
commitf1120513a84bd691e5865f84faba2886d1ff9955 (patch)
treed0da8072a99f3ad4f844bc21d8a44ff31df1219e
parent673df54f64f58f25679cda7e18d373307bd1a647 (diff)
fix: increase limit on event listeners warning (#255)v3.23.4
-rwxr-xr-xindex.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.js b/index.js
index 876c69e..7754e31 100755
--- a/index.js
+++ b/index.js
@@ -1,6 +1,9 @@
#!/usr/bin/env node
'use strict'
+const { EventEmitter } = require('events')
+EventEmitter.defaultMaxListeners = 50
+
/**
* Project dependencies
*/