Closed nervo closed 9 years ago
Knock knock, anyone there ?
LGTM, please add a test so that the Travis build passes and I will merge & release.
Sorry for taking so long time, man :)
I'm a little bit lost in yout tests, "Statements" are ok (100%), but still got an "Error: Timed out: isEmpty". Any clue ?
The test is timing out because the stream is never consumed. Adding stream.on('data', function (n) { assert.equal(1, n) })
should fix it.
Well, n equals 0 and not 1, and test pass. 'seems to be ok for you ?
Looks great, thanks for seeing this through!
Published in 0.1.8
When a stream is "empty" (aka. no sources were added), it could not be returned to a gulp task, and i suppose this situation could come across somewhere else.
So, now, we can imagine a something like that: