ealeksandrov-cd-to: fix style

This commit is contained in:
Bo Anderson
2023-12-15 17:37:34 +00:00
parent 0a25436899
commit 9f94133e77
+1 -1
View File
@@ -11,7 +11,7 @@ cask "ealeksandrov-cd-to" do
url :url
regex(/^v?(\d+(?:[._]\d+)+)$/i)
strategy :git do |tags, regex|
tags.map { |tag| tag[regex, 1]&.gsub("_", ".") }.compact
tags.map { |tag| tag[regex, 1]&.tr("_", ".") }.compact
end
end