-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Preventing undefined callback from being passed into the forgotPassword Method #7968
Conversation
…rd Method, which in turn prevents unnecessary audit-argument-checks warnings.
undefined
callback from being passed into the forgotPassword
Method
Hmm - tests failed with:
I don't think this is related to my changes ... |
The build/tests passed using my own CircleCI account, so I pushed a minor formatting change here to force the CI build to run again. It worked! |
It looks like CircleCI (and Travis too!) couldn't access the package server when that test ran. Not sure what happened there, but it does appear to be okay again now. Maybe it's just really busy today. You can ping me to trigger retries on the tests too if you need to. :) Haven't had a chance to review this otherwise yet. ;) |
Great to know @abernix - thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
My only suggestion on this would be to include issue number being fixed in the commit message and probably the added test description too (i.e. |
Great, thanks @abernix - I've updated the test description. I'm always a bit nervous when it comes to updating older commit messages (force pushing really scares me!) - am I okay to leave the original commit message without the issue # for now? (I mentioned it in the last commit message). I'll be sure to include an issue # in future PR commit messages. Thanks! |
Yeah, it's fine; I wouldn't worry about it this time. But good on adding it to the test name. And force pushing should absolutely scare you! 👻 Although, on PR branches where you're the only contributor, I think it's fine. I've definitely been known to |
Thanks for the diligence here guys |
This PR is intended to address #5676. Preventing an
undefined
callback from being passed into theforgotPassword
Method helps avoid issues with theaudit-argument-checks
package (more details in issue). Thanks!