[Pkg-javascript-commits] [node-stream-splicer] 03/71: example now completely works

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:55:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-stream-splicer.

commit cb99a4e86139f582d19542ed437fbf52dbcb1338
Author: James Halliday <mail at substack.net>
Date:   Sun Jun 8 04:13:00 2014 -0700

    example now completely works
---
 index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/index.js b/index.js
index cca53ea..6b4d3bc 100644
--- a/index.js
+++ b/index.js
@@ -96,5 +96,6 @@ Pipeline.prototype._wrapStream = function (stream) {
         stream.write(buf);
         next();
     };
+    d.once('finish', function () { stream.end() });
     return d;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-splicer.git



More information about the Pkg-javascript-commits mailing list