Commit 4835955
committed
Remove unnecessary
The `.compact` method is used to remove nil elements from an array.
However, in this context, it is unnecessary because the `.map` operation
is already creating an array of strings, and there's no `nil` values
that could be removed.compact call1 parent 8f51900 commit 4835955
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments