async retries: fix bug
async retries: fix bug: a task in smol-software-harbor (Harbor dataset). retry() in src/retry.js gives up one call too early: with retries: 2 it calls the function only twice instead of three times (one first call plus two retries, as the comment says). Fix it and run node --test test/ .test.js .
The task
`retry()` in `src/retry.js` gives up one call too early: with `retries: 2` it calls the function only twice instead of three times (one first call plus two retries, as the comment says). Fix it and run `node --test test/*.test.js`.
Part of efederici/smol-software-harbor.