Skip to content

Commit

Permalink
Fix "can't modify frozen String" error
Browse files Browse the repository at this point in the history
Fix "can't modify frozen String" error if bottle requires Command Line Tools when installing/updating several packages, which causes install/update process failure.
  • Loading branch information
ArtRoman authored Feb 9, 2025
1 parent 6567eb2 commit 208acd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4216,7 +4216,7 @@ def pour_bottle?(only_if: nil, &block)
lambda do |_|
on_macos do
T.bind(self, PourBottleCheck)
reason(<<~EOS)
reason(+<<~EOS)

Check warning on line 4219 in Library/Homebrew/formula.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/formula.rb#L4219

Added line #L4219 was not covered by tests
The bottle needs the Xcode Command Line Tools to be installed at /Library/Developer/CommandLineTools.
Development tools provided by Xcode.app are not sufficient.
Expand Down

0 comments on commit 208acd8

Please # to comment.