Skip to content
Snippets Groups Projects
Commit 4fb14d5c authored by Andrew R. McBurney's avatar Andrew R. McBurney
Browse files

`break if database_cache.empty?`

parent ba5692f7
No related branches found
No related tags found
No related merge requests found
......@@ -612,7 +612,8 @@ class FormulaInstaller
# Updates the cache for a particular formula after doing an install
DatabaseCache.new(:linkage) do |database_cache|
LinkageChecker.new(keg, database_cache, false, formula) unless database_cache.empty?
break if database_cache.empty?
LinkageChecker.new(keg, database_cache, false, formula)
end
# let's reset Utils.git_available? if we just installed git
......
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