mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-08 13:42:27 +05:30
Ameba: Fix Style/WhileTrue
This commit is contained in:
parent
e319c35f09
commit
22b35c453e
@ -131,7 +131,7 @@ module Invidious::Routes::VideoPlayback
|
||||
end
|
||||
|
||||
# TODO: Record bytes written so we can restart after a chunk fails
|
||||
while true
|
||||
loop do
|
||||
if !range_end && content_length
|
||||
range_end = content_length
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user