Skip to content
Browse files

Fix `Chain.wait()`

  • Loading branch information...
1 parent a8a3054 commit 18787ea4f27c2fad1cf0fd182fcee992490e0d1a @hokaccha committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/chain-tiny.js
View
2 lib/chain-tiny.js
@@ -248,5 +248,5 @@ Chain.parallel = function(ary) {
* @api public
*/
Chain.wait = function(time) {
- return Chain(function(next) { next(null); }).wait(time);
+ return Chain().wait(time);
};

0 comments on commit 18787ea

Please sign in to comment.
Something went wrong with that request. Please try again.