Skip to content

Commit 5cbb4cb

Browse files
dduuggBo98
authored andcommitted
portaudio: fix style
1 parent 97d2089 commit 5cbb4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/p/portaudio.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class Portaudio < Formula
1313
regex(/href=.*?pa[._-]stable[._-]v?(\d+)(?:[._-]\d+)?\.t/i)
1414
strategy :page_match do |page, regex|
1515
# 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(".") }
16+
page.scan(regex).map { |match| match[0].scan(/\d{2}/).map(&:to_i).join(".") }
1717
end
1818
end
1919

0 commit comments

Comments
 (0)