Skip to content

Commit

Permalink
Fix bug in auto. Results wern't being passed to functions that were i…
Browse files Browse the repository at this point in the history
…mmediately ready to run.
  • Loading branch information
allanca committed Jul 19, 2011
1 parent c66881d commit 010c3a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
}, true);
};
if (ready()) {
task[task.length - 1](taskCallback);
task[task.length - 1](taskCallback, results);
}
else {
var listener = function () {
Expand Down

0 comments on commit 010c3a5

Please sign in to comment.