Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions bin/run
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ OF ANY KIND, either express or implied. See the License for the specific languag
governing permissions and limitations under the License.
*/

// Multiple plugins each initialize roarr which adds an error listener on process.stderr
// and process.stdout.
// Raise the limit to accommodate all bundled plugins without false leak warnings.
// 30 is chosen to exceed the maximum number of bundled plugins (currently ~12).
process.stderr.setMaxListeners(30)
process.stdout.setMaxListeners(30)

require('../src/').run()
.then(() => require('@oclif/core/flush'))
.catch(require('@oclif/core/handle'))
Loading
Loading