summaryrefslogtreecommitdiff
path: root/lib/retry.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/retry.js')
-rw-r--r--lib/retry.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/retry.js b/lib/retry.js
index 45b09a8..a5ad866 100644
--- a/lib/retry.js
+++ b/lib/retry.js
@@ -23,7 +23,7 @@ import constant from 'lodash/constant';
* erroneous result. If it returns `true` the retry attempts will continue;
* if the function returns `false` the retry flow is aborted with the current
* attempt's error and result being returned to the final callback.
- * Invoked with (err, result).
+ * Invoked with (err).
* * If `opts` is a number, the number specifies the number of times to retry,
* with the default interval of `0`.
* @param {Function} task - A function which receives two arguments: (1) a