Skip to content

Commit

Permalink
~ standardize the catch() readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanDimanov committed Jul 31, 2015
1 parent 8667489 commit bf31fa1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build_tests/readme_examples_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = {

while (--count) factorial *= count;

resolve(null, factorial);
resolve(factorial);
}
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paratask-promises",
"version": "4.0.0",
"version": "4.0.1",
"author": {
"name": "Ivan Dimanov",
"email": "[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var task_1 = {

while (--count) factorial *= count;

resolve(null, factorial);
resolve(factorial);
}
};

Expand Down

0 comments on commit bf31fa1

Please sign in to comment.