mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
themeengine: Fix RuboCop Performance/MapCompact offenses
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user