Skip to content

Commit

Permalink
brew style --fix for Rubocop update
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <patrick@linnane.io>
  • Loading branch information
p-linnane committed Oct 2, 2024
1 parent d332acb commit b4ace24
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 b4ace24

Please sign in to comment.