themeengine: Fix RuboCop Performance/MapCompact offenses

This commit is contained in:
Issy Long
2024-02-26 15:16:45 +00:00
parent 5fd3c69128
commit e1bd0134ba
+2 -2
View File
@@ -10,10 +10,10 @@ cask "themeengine" do
livecheck do
url :url
strategy :git do |tags|
tags.map do |tag|
tags.filter_map do |tag|
match = tag.match(/^(\d+(?:\.\d+)*)\((\d+)\)$/i)
"#{match[1]},#{match[2]}" if match
end.compact
end
end
end