Resolve type error

This commit is contained in:
Douglas Eichelberger 2023-11-05 09:20:34 -08:00
parent 75179e9239
commit ca90f9866a

View File

@ -175,7 +175,7 @@ class FormulaInstaller
unless bottle.compatible_locations?
if output_warning
prefix = Pathname(bottle.cellar).parent
prefix = Pathname(bottle.cellar.to_s).parent
opoo <<~EOS
Building #{formula.full_name} from source as the bottle needs:
- HOMEBREW_CELLAR: #{bottle.cellar} (yours is #{HOMEBREW_CELLAR})