Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing event-emitter leak warnings by setting max listeners to zero

(closes #2)
  • Loading branch information...
commit d388f506d9b2740f072729a89acf45c4b714d2b3 1 parent a00d020
Anderson Arboleya arboleya authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/zip-writer.js
1  lib/zip-writer.js
View
@@ -6,6 +6,7 @@ var fs = require('fs');
function Sync(zipStream) {
this.stream = zipStream;
+ this.stream.setMaxListeners(0);
this.queue = [];
this.idle = true;
this.finalized = false;
Please sign in to comment.
Something went wrong with that request. Please try again.