mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
Merge pull request #167637 from Homebrew/new-rubocop-fixes
This commit is contained in:
@@ -16,14 +16,14 @@ cask "burp-suite-professional" do
|
||||
all_versions = json["ResultSet"]["Results"]
|
||||
next if all_versions.blank?
|
||||
|
||||
all_versions.map do |item|
|
||||
all_versions.filter_map do |item|
|
||||
item["version"] if
|
||||
item["releaseChannels"].include?("Stable") &&
|
||||
item["categories"].include?("Professional") &&
|
||||
item["builds"].any? do |build|
|
||||
build["ProductPlatform"] == arch.to_s
|
||||
end
|
||||
end.compact
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user