Skip to content

Commit

Permalink
Breaking: Switch to standard stream patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Feb 16, 2017
1 parent 4bc4a9d commit fefe5bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ module.exports =
stream.emit 'error', e

globber.on 'end', ->
stream.emit 'end'
stream.end()

globber.on 'match', (filename) ->
stream.emit 'data', filename
stream.write filename

return stream

0 comments on commit fefe5bb

Please sign in to comment.