brew-aspell-dictionaries: brew style --fix.

master
Mike McQuaid 2019-10-15 08:59:36 +01:00
parent 5c5485827c
commit 11ec1594b4
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 3 additions and 3 deletions

View File

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