Skip to content

Commit

Permalink
fix: allow for pipes to drain
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev authored and isaacs committed Feb 8, 2019
1 parent 740e695 commit b97f460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class Base extends MiniPass {
this.options.failures = failures

this.onbeforeend()
this.emit('end')
super.end()
this.ondone()
}

Expand Down

0 comments on commit b97f460

Please sign in to comment.