Skip to content
This repository has been archived by the owner on Nov 28, 2018. It is now read-only.

Commit

Permalink
add collect alias for write array
Browse files Browse the repository at this point in the history
  • Loading branch information
北川 committed Sep 9, 2018
1 parent 50c0edb commit 0f3738c
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 @@ -73,6 +73,7 @@ es.merge = function (/*streams...*/) {
// and calls back when 'end' occurs
// mainly I'm using this to test the other functions

es.collect =
es.writeArray = function (done) {
if ('function' !== typeof done)
throw new Error('function writeArray (done): done must be function')
Expand Down

0 comments on commit 0f3738c

Please sign in to comment.