Skip to content

Commit

Permalink
improving generators support.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Dec 6, 2015
1 parent f75c44e commit 7a9a53e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions lib/utils.js
Expand Up @@ -86,11 +86,7 @@ function asyncAdapter(generator) {
});
}

try {
return handle(g.next());
} catch (ex) {
return $p.reject(ex);
}
return handle(g.next());
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "spex",
"version": "0.4.0",
"version": "0.4.1",
"description": "Specialized Promise Extensions",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 7a9a53e

Please sign in to comment.