Skip to content
Snippets Groups Projects
Commit f0fc15ad authored by Jack Nagel's avatar Jack Nagel
Browse files

Remove unnecessary early return

Iterating over an empty list is a no-op so we can remove this early
return.
parent 2804e0ed
No related branches found
No related tags found
No related merge requests found
......@@ -761,7 +761,6 @@ class Formula
def prepare_patches
active_spec.add_legacy_patches(patches)
return if patchlist.empty?
patchlist.grep(DATAPatch) { |p| p.path = path }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment