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(no-multiple-resolved): false positives when the last expression in a try block is a call to resolve #384

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

ota-meshi
Copy link
Member

What is the purpose of this pull request?

  • Documentation update
  • Bug fix
  • New rule
  • Changes an existing rule
  • Add autofixing to a rule
  • Other, please explain:

What changes did you make? (Give an overview)

This PR fixes the promise/no-multiple-resolved rule to fix a false positive when the last expression in a try block is a call to resolve with.

close #382

@ota-meshi ota-meshi merged commit dc51b1c into main Oct 19, 2022
@ota-meshi ota-meshi deleted the issue382 branch October 19, 2022 21:03
@github-actions
Copy link
Contributor

🎉 This PR is included in version 6.1.1 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no-multiple-resolved wrongly reports reject in try/catch block
2 participants