install.rb: stop early if there are no formulae to be installed

This commit is contained in:
Maxim Belkin 2017-09-28 14:16:21 -05:00
parent cb139ca381
commit b8d8049f70
No known key found for this signature in database
GPG Key ID: AC71560D4C5F2338

View File

@ -219,6 +219,7 @@ module Homebrew
end
end
return if formulae.empty?
perform_preinstall_checks
formulae.each do |f|