From 4f676c815268a710f4091e82af389ece9d88a3de Mon Sep 17 00:00:00 2001 From: Tarvo R Date: Thu, 2 Jan 2020 14:13:12 +0200 Subject: [PATCH] Fix syntax error causing 'randomize' to not be true by default --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 7979544..88f1b3f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -6,7 +6,7 @@ function retry(fn, opts) { var options = opts || {}; // Default `randomize` to true - if (!'randomize' in opts) { + if (!('randomize' in opts)) { opts.randomize = true; }