dev-cmd/aspell-dictionaries: fix Rubocop warnings.
This commit is contained in:
parent
8448fe17cb
commit
90d16a8f86
@ -14,8 +14,8 @@ module Homebrew
|
||||
|
||||
open("#{dict_url}/0index.html") do |content|
|
||||
content.each_line do |line|
|
||||
break if %r{^</table} === line
|
||||
next unless /^<tr><td><a/ === line
|
||||
break if %r{^</table} =~ line
|
||||
next unless /^<tr><td><a/ =~ line
|
||||
|
||||
fields = line.split('"')
|
||||
lang = fields[1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user