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 offense after RuboCop 1.56 #5318

Conversation

waiting-for-dev
Copy link
Contributor

Summary

Rubocop 1.56 fixed a false negative for Style/RedundantReturn cop.

See rubocop/rubocop#12106

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

The following are not always needed:

  • 📖 I have updated the README to account for my changes.
  • 📑 I have documented new code with YARD.
  • 🛣️ I have opened a PR to update the guides.
  • ✅ I have added automated tests to cover my changes.
  • 📸 I have attached screenshots to demo visual changes.

Rubocop 1.56 fixed a false negative for `Style/RedundantReturn` cop.

See rubocop/rubocop#12106
@waiting-for-dev waiting-for-dev added the type:bug Error, flaw or fault label Aug 9, 2023
@waiting-for-dev waiting-for-dev self-assigned this Aug 9, 2023
@waiting-for-dev waiting-for-dev requested a review from a team as a code owner August 9, 2023 07:47
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label Aug 9, 2023
@waiting-for-dev waiting-for-dev merged commit 8864b2a into solidusio:main Aug 9, 2023
4 checks passed
@waiting-for-dev waiting-for-dev deleted the waiting-for-dev/fix_offense_after_rubocop_1.56 branch August 9, 2023 08:28
@waiting-for-dev waiting-for-dev added the backport-v4.1 Backport this pull-request to v4.1 label Aug 10, 2023
@github-actions
Copy link

💚 All backports created successfully

Status Branch Result
v4.1

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

@elia elia added changelog:skip Changes that we don't want to be listed in the Changelog and removed changelog:solidus_core Changes to the solidus_core gem labels Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-v4.1 Backport this pull-request to v4.1 changelog:skip Changes that we don't want to be listed in the Changelog type:bug Error, flaw or fault
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants