Commit 9b450a8
committed
Workaround for a false positive of
Workaround for a false positive caused by `InternalAffairs/UndefinedConfig` cop
when using `bundle exec rake`.
```console
% bundle exec rake
(snip)
Offenses:
lib/rubocop/cop/rails/blank.rb:97:36: C:
InternalAffairs/UndefinedConfig: NotPresent is not defined in the
configuration for Rails/Blank in config/default.yml.
return unless cop_config['NotPresent']
^^^^^^^^^^^^
(snip)
```InternalAffairs/UndefinedConfig
1 parent e796e2d commit 9b450a8
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
0 commit comments