Skip to content

Commit

Permalink
brew-aspell-dictionaries: use more explicit open.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Mar 6, 2018
1 parent c1f7cf5 commit e453837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/brew-aspell-dictionaries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

languages = {}

open("#{dict_url}/0index.html") do |content|
URI.parse("#{dict_url}/0index.html").open do |content|
content.each_line do |line|
break if %r{^</table} =~ line
next unless /^<tr><td><a/ =~ line
Expand Down

0 comments on commit e453837

Please sign in to comment.