Commit 1c06f6d
committed
(CONT-517) Fix undefined method reverse
Prior to this commit `items.find_all.last` had been repaced by `items.reverse.find`.
The change was introduced due to a Rubocop suggestion. However, it was
incorrect due to the datatype of `items`.
This commit reverts the change.1 parent 8b97092 commit 1c06f6d
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
| |||
0 commit comments