Skip to content

Commit

Permalink
test(e2e): Fix variable scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed May 20, 2015
1 parent b9a4ce9 commit d0e26ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/steps/core_steps.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ coreSteps = ->
@lastRun.error = error
done()

@child.stderr.on 'data', (chunk) ->
lastRun.stderr += chunk.toString()
@child.stderr.on 'data', (chunk) =>
@lastRun.stderr += chunk.toString()

@child.stdout.on 'data', (chunk) =>
@lastRun.stdout += chunk.toString()
Expand Down

0 comments on commit d0e26ab

Please sign in to comment.