Skip to content

Commit 46ffe11

Browse files
committed
cmd/determine-rebottle-runners: fix style
For Homebrew/brew#20244
1 parent 4de4ad0 commit 46ffe11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/determine-rebottle-runners.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def run
4747
timeout = args.named.second.to_i
4848

4949
tags = formula.bottle_specification.collector.tags
50-
runners = if tags.count == 1 && tags.first.system == :all
50+
runners = if tags.one? && tags.first.system == :all
5151
# Build on all supported macOS versions and Linux.
5252
[linux_runner_spec(:x86_64, timeout)] + MacOSVersion::SYMBOLS.keys.flat_map do |symbol|
5353
macos_version = MacOSVersion.from_symbol(symbol)

0 commit comments

Comments
 (0)