standalone/init: enable more warnings for developers
This commit is contained in:
parent
f6d9276f8b
commit
30c7e6024f
@ -24,6 +24,13 @@ else
|
||||
vendored_versions.include?("#{ruby_major}.#{ruby_minor}")
|
||||
end.freeze
|
||||
|
||||
# TODO(odeprecated): remove `respond_to?` check when required Ruby >= 3.4
|
||||
if ENV["HOMEBREW_DEVELOPER"] && Warning.respond_to?(:categories)
|
||||
Warning.categories.each do |category|
|
||||
Warning[category] = true
|
||||
end
|
||||
end
|
||||
|
||||
# Setup Homebrew::FastBootRequire for faster boot requires.
|
||||
# Inspired by https://github.com/Shopify/bootsnap/wiki/Bootlib::Require
|
||||
require "rbconfig"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user