From fefe5bba6ab1952ff998e8b08658ae764b1d1313 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Thu, 16 Feb 2017 10:36:18 -0700 Subject: [PATCH] Breaking: Switch to standard stream patterns --- lib/main.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.coffee b/lib/main.coffee index 736114f..12120db 100644 --- a/lib/main.coffee +++ b/lib/main.coffee @@ -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 \ No newline at end of file