diff --git a/Casks/b/burp-suite-professional.rb b/Casks/b/burp-suite-professional.rb index 5fc534d582..f872263f47 100644 --- a/Casks/b/burp-suite-professional.rb +++ b/Casks/b/burp-suite-professional.rb @@ -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