Skip to content

Commit

Permalink
Merge pull request #1251 from Homebrew/fix-style
Browse files Browse the repository at this point in the history
  • Loading branch information
p-linnane authored Oct 2, 2024
2 parents ff3e015 + b4ace24 commit d2a5e56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def run(dry_run: false, fail_fast: false)
end

os_string = if OS.mac?
str = +"macOS #{MacOS.version.pretty_name} (#{MacOS.version})"
str = "macOS #{MacOS.version.pretty_name} (#{MacOS.version})"
str << " on Apple Silicon" if Hardware::CPU.arm?

str
Expand Down
2 changes: 1 addition & 1 deletion lib/tests/formulae_dependents.rb
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def install_dependent(dependent, testable_dependents, args:, build_from_source:
all_tests_passed &&
dependent.deps.all? { |d| bottled?(d.to_formula, no_older_versions: true) }
os_string = if OS.mac?
str = +"macOS #{MacOS.version.pretty_name} (#{MacOS.version})"
str = "macOS #{MacOS.version.pretty_name} (#{MacOS.version})"
str << " on Apple Silicon" if Hardware::CPU.arm?

str
Expand Down

0 comments on commit d2a5e56

Please sign in to comment.