Use break instead of short-circuit return

This commit is contained in:
syeopite 2021-10-01 05:39:23 -07:00
parent 23049e026f
commit 26b28cea49
No known key found for this signature in database
GPG Key ID: 6FA616E5A5294A82
1 changed files with 1 additions and 1 deletions

View File

@ -558,7 +558,7 @@ def extract_items(initial_data : Hash(String, JSON::Any), author_fallback : Stri
end
end
return items
break
end
end