resolve type error in --env

This commit is contained in:
Douglas Eichelberger 2023-03-03 18:41:19 -08:00
parent 42c9ad1447
commit e63111a7b5

View File

@ -49,7 +49,7 @@ module Homebrew
end
if shell.nil?
BuildEnvironment.dump ENV
BuildEnvironment.dump ENV.to_h
else
BuildEnvironment.keys(ENV.to_h).each do |key|
puts Utils::Shell.export_value(key, ENV.fetch(key), shell)