[Pkg-javascript-commits] [node-stream-splicer] 60/71: bugfix: missing update of this.length

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 ec9fc79d73729f0c23ed4fdd2a107e3f8709b522
Author: jeromew <jerome.wagner at m4x.org>
Date:   Sat Sep 27 10:40:02 2014 +0200

    bugfix: missing update of this.length
---
 index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/index.js b/index.js
index a5e7b31..9397a76 100644
--- a/index.js
+++ b/index.js
@@ -83,6 +83,7 @@ Pipeline.prototype._notEmpty = function () {
         }
     });
     this._streams.push(stream);
+    this.length = this._streams.length;
 };
 
 Pipeline.prototype.push = function (stream) {

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