Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Suppress RuboCop offenses (rubocop#229)
This PR suppresses the following RuboCop offenses. ```console % bundle exec rake (snip) Offenses: Gemfile:21:4: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('RUBOCOP_VERSION') or ENV.fetch('RUBOCOP_VERSION', nil) instead of ENV['RUBOCOP_VERSION']. if ENV['RUBOCOP_VERSION'] == 'none' ^^^^^^^^^^^^^^^^^^^^^^ Gemfile:28:9: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('RUBOCOP_VERSION') or ENV.fetch('RUBOCOP_VERSION', nil) instead of ENV['RUBOCOP_VERSION']. elsif ENV['RUBOCOP_VERSION'] == 'master' ^^^^^^^^^^^^^^^^^^^^^^ lib/rubocop/ast/traversal.rb:37:39: C: [Correctable] Style/FetchEnvVar: Use ENV.fetch('RUBOCOP_DEBUG') or ENV.fetch('RUBOCOP_DEBUG', nil) instead of ENV['RUBOCOP_DEBUG']. arity_check: ENV['RUBOCOP_DEBUG'] && self.arity_check(arity), ^^^^^^^^^^^^^^^^^^^^ 162 files inspected, 3 offenses detected, 3 offenses auto-correctable ```
- Loading branch information