Commit 17cf184
committed
Disable
While preferring `.map { ... }` vs `a = []; b.each { a << ... }` makes
sense, this cop has lots of gotchas, so we'll probably have to evaluate
it's false positive rate to determine if we should enable it or not.Style/MapIntoArray
1 parent ac2a83e commit 17cf184
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
631 | 636 | | |
632 | 637 | | |
633 | 638 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3229 | 3229 | | |
3230 | 3230 | | |
3231 | 3231 | | |
3232 | | - | |
| 3232 | + | |
3233 | 3233 | | |
3234 | 3234 | | |
3235 | 3235 | | |
| |||
0 commit comments