gist-logs: don’t upload on unsupported configurations.
This commit is contained in:
parent
3a0e0dca36
commit
4ff0ecd443
@ -134,6 +134,7 @@ module Homebrew
|
|||||||
def gist_logs
|
def gist_logs
|
||||||
raise FormulaUnspecifiedError if ARGV.resolved_formulae.length != 1
|
raise FormulaUnspecifiedError if ARGV.resolved_formulae.length != 1
|
||||||
|
|
||||||
|
Install.perform_preinstall_checks(all_fatal: true)
|
||||||
gistify_logs(ARGV.resolved_formulae.first)
|
gistify_logs(ARGV.resolved_formulae.first)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user