Skip to content

Commit

Permalink
[Utils -> promisify] fix code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Terekhin committed Aug 21, 2014
1 parent c4f4c72 commit d2eb702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ Echo.Utils.retry = function(inputFn, options, ctx, args) {
* "msg": "The number should be positive."
* });
* } else {
* done(error, num, Math.sqrt(num));
* done(null, num, Math.sqrt(num));
* }
* });
* // promise resolved
Expand Down

0 comments on commit d2eb702

Please sign in to comment.