Merge pull request #6221 from MikeMcQuaid/system_config_bundle_hide

system_config: hide HOMEBREW_BUNDLE_* env vars.
This commit is contained in:
Mike McQuaid 2019-06-12 13:26:06 +01:00 committed by GitHub
commit 362d991079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,6 +169,7 @@ class SystemConfig
unless ENV["HOMEBREW_ENV"]
ENV.sort.each do |key, value|
next unless key.start_with?("HOMEBREW_")
next if key.start_with?("HOMEBREW_BUNDLE_")
next if boring_keys.include?(key)
next if defaults_hash[key.to_sym]