mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-15 00:15:25 -05:00
Fix Style/SlicingWithRange cop (#25923)
This commit is contained in:
@@ -29,7 +29,7 @@ module ActiveRecord
|
||||
if flatten
|
||||
yield record[1]
|
||||
else
|
||||
yield record[1..-1]
|
||||
yield record[1..]
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user