[Pkg-javascript-commits] [node-async] 93/480: Fix bug in auto. Results wern't being passed to functions that were immediately ready to run.

Jonas Smedegaard js at moszumanska.debian.org
Fri May 2 08:58:15 UTC 2014


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

js pushed a commit to branch master
in repository node-async.

commit 010c3a530cd1a59305081610e26ea4061a1eb82e
Author: Allan Carroll <allanca at gmail.com>
Date:   Tue Jul 19 14:53:05 2011 -0700

    Fix bug in auto. Results wern't being passed to functions that were immediately ready to run.
---
 lib/async.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/async.js b/lib/async.js
index 106b68c..d39ddf1 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -375,7 +375,7 @@
                 }, true);
             };
             if (ready()) {
-                task[task.length - 1](taskCallback);
+                task[task.length - 1](taskCallback, results);
             }
             else {
                 var listener = function () {

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



More information about the Pkg-javascript-commits mailing list