Should convert retries option to object?
alanshaw opened this issue · 1 comments
alanshaw commented
Is this meant to be converted to an object if retries is a number?
node-proper-lockfile/lib/lockfile.js
Line 205 in a66dcaf
you'll end up with { retries: { retries: 5 } }
for example.
satazor commented
Yes it’s correct. We accept a simple number or a more complex retry object, which has a retries field, see: https://github.com/tim-kos/node-retry/blob/master/README.md