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 #8871] Fix a false positive for Style/RedundantBegin #8874

Merged

Commits on Oct 9, 2020

  1. [Fix rubocop#8871] Fix a false positive for Style/RedundantBegin

    Fixes rubocop#8871.
    
    This PR fixes a false positive for `Style/RedundantBegin`
    when using `begin` for method argument or part of conditions.
    
    `begin` keyword may be redundant when using only one expression
    in `begin` of each issue case.
    However, since it is the unintended case for rubocop#8822, I think it
    can be implemented as an enhancement different from this bug fix.
    koic committed Oct 9, 2020
    Configuration menu
    Copy the full SHA
    817e470 View commit details
    Browse the repository at this point in the history