Skip to content

Commit

Permalink
try something else
Browse files Browse the repository at this point in the history
  • Loading branch information
kalinkrustev authored and isaacs committed Feb 8, 2019
1 parent b97f460 commit 7fbf13f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/base.js
Expand Up @@ -182,7 +182,8 @@ class Base extends MiniPass {
this.options.failures = failures

this.onbeforeend()
super.end()
!this.flowing && this.buffer.length && this.resume()
this.emit('end')
this.ondone()
}

Expand Down

0 comments on commit 7fbf13f

Please sign in to comment.