brew-aspell-dictionaries: brew style --fix.
This commit is contained in:
parent
5c5485827c
commit
11ec1594b4
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||||
|
@ -31,7 +31,7 @@ resources = languages.map do |lang, path|
|
||||||
r
|
r
|
||||||
end
|
end
|
||||||
|
|
||||||
resources.each {|r| r.fetch(verify_download_integrity: false)}
|
resources.each { |r| r.fetch(verify_download_integrity: false) }
|
||||||
|
|
||||||
resources.each do |r|
|
resources.each do |r|
|
||||||
puts <<-EOS
|
puts <<-EOS
|
||||||
|
|
Loading…
Reference in a new issue