Fix Style/IsAFilter issues

This commit is contained in:
syeopite
2021-09-24 19:57:46 -07:00
parent e969c1490a
commit dd8c412abc
4 changed files with 4 additions and 6 deletions

View File

@@ -40,7 +40,7 @@ def extract_videos(initial_data : Hash(String, JSON::Any), author_fallback : Str
target << i
end
end
return target.select(&.is_a?(SearchVideo)).map(&.as(SearchVideo))
return target.select(SearchVideo).map(&.as(SearchVideo))
end
def extract_selected_tab(tabs)