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 #10581] Fix a false positive for Style/FetchEnvVar #10582

Merged

Commits on Apr 26, 2022

  1. [Fix rubocop#10581] Fix a false positive for Style/FetchEnvVar

    Fixes rubocop#10581.
    
    This PR fixes a false positive for `Style/FetchEnvVar` when comparing with `ENV['TERM']`.
    `ENV['DISABLE_DOTENV'] != '1'` could be treated the same as the already allowed in `used_as_flag?`
    (that is, used as a flag).
    koic committed Apr 26, 2022
    Configuration menu
    Copy the full SHA
    0b350b1 View commit details
    Browse the repository at this point in the history