[Pkg-javascript-commits] [node-stream-splicer] 62/71: bugfix: error thrown when an empty pipeline finishes before any data has been written

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:55:53 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 092a2f9bc0cd693de583c0fb5784d0dd0d709e93
Author: zoubin <zoubin04 at gmail.com>
Date:   Sun Jun 21 11:44:59 2015 +0800

    bugfix: error thrown when an empty pipeline finishes before any data has been written
---
 index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/index.js b/index.js
index 9397a76..efb287f 100644
--- a/index.js
+++ b/index.js
@@ -42,6 +42,7 @@ function Pipeline (streams, opts) {
     this.splice.apply(this, [ 0, 0 ].concat(streams));
     
     this.once('finish', function () {
+        self._notEmpty();
         self._streams[0].end();
     });
 }

-- 
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