style: remove HOMEBREW_RUBY_WARNINGS

This is hiding legitimate errors which can cause CI failures.
This commit is contained in:
Mike McQuaid 2021-01-29 17:14:14 +00:00
parent 3c29c08831
commit eea27d9a60
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -135,7 +135,6 @@ module Homebrew
FileUtils.rm_rf cache_env["XDG_CACHE_HOME"] if reset_cache FileUtils.rm_rf cache_env["XDG_CACHE_HOME"] if reset_cache
ruby_args = [ ruby_args = [
(ENV["HOMEBREW_RUBY_WARNINGS"] if !debug && !verbose),
"-S", "-S",
"rubocop", "rubocop",
].compact.freeze ].compact.freeze