Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: export the shouldRetryRequest method #74

Merged
merged 11 commits into from
Oct 23, 2020
Merged

fix: export the shouldRetryRequest method #74

merged 11 commits into from
Oct 23, 2020

Conversation

bdcarr
Copy link
Contributor

@bdcarr bdcarr commented Nov 5, 2019

I wanted to make it available to use in my own shouldRetry function, rather than duplicate too much logic. So I added 'export' to the function declaration, ran the tests and it all seems to work!

Also included the fix for #1 that @opyate / @JustinBeckwith wrote. Hope that's okay. I just copied it into my fork so I could use the fix and couldn't be bothered removing it for this PR 😅

Copy link
Owner

@JustinBeckwith JustinBeckwith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feature! I am fine accepting the exported function, but would like to keep that separate from the other changes (which I honestly still don't understand). Could I trouble you to back those out?

It would also be rad to add a note about the method to the README!

@JustinBeckwith JustinBeckwith changed the title Export the shouldRetryRequest function (and fix #1) fix: export the shouldRetryRequest function Jan 11, 2020
@JustinBeckwith JustinBeckwith changed the title fix: export the shouldRetryRequest function fix: export the shouldRetryRequest method Jan 11, 2020
bdcarr and others added 4 commits January 13, 2020 10:41
These were changes I copied from someone else's PR, which fixed #1. This has been fixed with 554fd4c, so I'm removing these changes.

reverts 656ee80
@bdcarr
Copy link
Contributor Author

bdcarr commented Jan 13, 2020

Hi mate, I've removed the changes unrelated to shouldRetryRequest and added a bit to the README. I ran npm run fix and it made some changes, but the lint check on CircleCI is still failing. I tried running gts fix as it instructed, but it says error: gpg failed to sign the data so I'm a bit lost there.

@JustinBeckwith JustinBeckwith merged commit 694d638 into JustinBeckwith:master Oct 23, 2020
@github-actions
Copy link

🎉 This PR is included in version 2.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants