Skip to content

Commit

Permalink
Add hooks should always be called with emitter argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Kliment committed Feb 27, 2015
1 parent 4c755af commit 39ab676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/add-hooks.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ addHooks = (runner, transactions, emitter) ->
title: transaction.id
message: transaction.name
origin: transaction.origin
@emitter?.emit 'test error', error, test if error
@emitter.emit 'test error', error, test if error

module.exports = addHooks

0 comments on commit 39ab676

Please sign in to comment.