cmd/update-report: check for HOMEBREW_DISABLE_LOAD_FORMULA
This commit is contained in:
parent
c2133d8100
commit
870bae8ce6
@ -73,7 +73,6 @@ module Homebrew
|
||||
|
||||
install_core_tap_if_necessary
|
||||
|
||||
hub = ReporterHub.new
|
||||
updated = false
|
||||
|
||||
initial_revision = ENV["HOMEBREW_UPDATE_BEFORE"].to_s
|
||||
@ -86,6 +85,11 @@ module Homebrew
|
||||
updated = true
|
||||
end
|
||||
|
||||
Homebrew.failed = true if ENV["HOMEBREW_UPDATE_FAILED"]
|
||||
return if ENV["HOMEBREW_DISABLE_LOAD_FORMULA"]
|
||||
|
||||
hub = ReporterHub.new
|
||||
|
||||
updated_taps = []
|
||||
Tap.each do |tap|
|
||||
next unless tap.git?
|
||||
@ -127,8 +131,6 @@ module Homebrew
|
||||
|
||||
link_completions_manpages_and_docs
|
||||
Tap.each(&:link_completions_and_manpages)
|
||||
|
||||
Homebrew.failed = true if ENV["HOMEBREW_UPDATE_FAILED"]
|
||||
end
|
||||
|
||||
def shorten_revision(revision)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user