cmd/aspell-dictionaries: fix brew style.

master
Mike McQuaid 2020-05-22 08:46:59 +01:00
parent de8e4629cb
commit fccbd331ad
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ module Homebrew
URI.parse("#{dict_url}/0index.html").open do |content|
content.each_line do |line|
break if %r{^</table}.match?(line)
next unless /^<tr><td><a/.match?(line)
break if line.start_with?("</table")
next unless line.start_with?("<tr><td><a/")
fields = line.split('"')
lang = fields[1]