Skip to content

Commit

Permalink
fix(emits): emit use on successful completion
Browse files Browse the repository at this point in the history
  • Loading branch information
tunnckoCore committed Nov 1, 2016
1 parent d2fd73f commit 46e4407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ utils.delegate(MiniBase.prototype, {
this.emit('error', err)
return
}
this.emit('use', fn, res)
})
return this
}
Expand Down

0 comments on commit 46e4407

Please sign in to comment.