Use break instead of short-circuit return
This commit is contained in:
parent
23049e026f
commit
26b28cea49
|
@ -558,7 +558,7 @@ def extract_items(initial_data : Hash(String, JSON::Any), author_fallback : Stri
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return items
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue