Skip to content

Commit b9fa03a

Browse files
committed
Revert "tar: when using compressor, make sure event listener gets hooked to the proper stream."
This reverts commit 5c80a62.
1 parent 5c80a62 commit b9fa03a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/plugins/tar.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,7 @@ Tar.prototype.finalize = function() {
7676
};
7777

7878
Tar.prototype.on = function() {
79-
if (this.compressor) {
80-
return this.compressor.on.apply(this.compressor, arguments);
81-
} else {
82-
return this.engine.on.apply(this.engine, arguments);
83-
}
79+
return this.engine.on.apply(this.engine, arguments);
8480
};
8581

8682
Tar.prototype.pipe = function(destination, options) {

0 commit comments

Comments
 (0)