diff options
| author | Mike McQuaid | 2016-09-11 17:41:51 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-11 18:28:43 +0100 |
| commit | 90d16a8f8667bc54cb134a46470492e371970538 (patch) | |
| tree | c05605695ee54f022d7c8d391f9c0652c5b58c39 /Library | |
| parent | 8448fe17cba78e35a260d4c4e0189abe7ab75fcf (diff) | |
| download | brew-90d16a8f8667bc54cb134a46470492e371970538.tar.bz2 | |
dev-cmd/aspell-dictionaries: fix Rubocop warnings.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/aspell-dictionaries.rb | 4 |
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] |
