We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97d2089 commit 5cbb4cbCopy full SHA for 5cbb4cb
Formula/p/portaudio.rb
@@ -13,7 +13,7 @@ class Portaudio < Formula
13
regex(/href=.*?pa[._-]stable[._-]v?(\d+)(?:[._-]\d+)?\.t/i)
14
strategy :page_match do |page, regex|
15
# Modify filename version (190700) to match formula version (19.7.0)
16
- page.scan(regex).map { |match| match&.first&.scan(/\d{2}/)&.map(&:to_i)&.join(".") }
+ page.scan(regex).map { |match| match[0].scan(/\d{2}/).map(&:to_i).join(".") }
17
end
18
19
0 commit comments