aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-09-11 17:41:51 +0100
committerMike McQuaid2016-09-11 18:28:43 +0100
commit90d16a8f8667bc54cb134a46470492e371970538 (patch)
treec05605695ee54f022d7c8d391f9c0652c5b58c39 /Library/Homebrew/dev-cmd
parent8448fe17cba78e35a260d4c4e0189abe7ab75fcf (diff)
downloadbrew-90d16a8f8667bc54cb134a46470492e371970538.tar.bz2
dev-cmd/aspell-dictionaries: fix Rubocop warnings.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/aspell-dictionaries.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/aspell-dictionaries.rb b/Library/Homebrew/dev-cmd/aspell-dictionaries.rb
index 16ec91835..cbb88ffe5 100644
--- a/Library/Homebrew/dev-cmd/aspell-dictionaries.rb
+++ b/Library/Homebrew/dev-cmd/aspell-dictionaries.rb
@@ -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]