gist-logs: don’t upload on unsupported configurations.

This commit is contained in:
Mike McQuaid 2019-01-21 12:39:54 +00:00
parent 3a0e0dca36
commit 4ff0ecd443
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -134,6 +134,7 @@ module Homebrew
def gist_logs
raise FormulaUnspecifiedError if ARGV.resolved_formulae.length != 1
Install.perform_preinstall_checks(all_fatal: true)
gistify_logs(ARGV.resolved_formulae.first)
end
end