diff options
| author | Mike McQuaid | 2018-01-09 20:08:22 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2018-01-09 20:08:22 +0000 | 
| commit | 7f2fda104a47b696b4333e424d078b28860cb5c3 (patch) | |
| tree | 145f73b08f1afede3c928354b05830ed25203f94 /Library | |
| parent | 9464616897c9ce73e3cd6d571390797aa554e41c (diff) | |
| download | brew-7f2fda104a47b696b4333e424d078b28860cb5c3.tar.bz2 | |
formula_cop: match any values in hash match.
e.g. match an array or symbol or string.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/rubocops/extend/formula_cop.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/rubocops/extend/formula_cop.rb b/Library/Homebrew/rubocops/extend/formula_cop.rb index 71a5caf74..de369a0aa 100644 --- a/Library/Homebrew/rubocops/extend/formula_cop.rb +++ b/Library/Homebrew/rubocops/extend/formula_cop.rb @@ -214,7 +214,7 @@ module RuboCop        EOS        def_node_search :dependency_name_hash_match?, <<~EOS -        (hash (pair ({str sym} %1) ({str sym array} _))) +        (hash (pair ({str sym} %1) (...)))        EOS        # To compare node with appropriate Ruby variable | 
