diff options
| author | Gautham Goli | 2017-05-03 11:33:00 +0530 |
|---|---|---|
| committer | Gautham Goli | 2017-05-03 14:49:23 +0530 |
| commit | fed668b330e151bde493e004d7c6ca57df4e19ff (patch) | |
| tree | 5add603841e2d073c3fe2aaef677705a72d6c4e1 /Library/Homebrew/rubocops/bottle_block_cop.rb | |
| parent | c3330c289d0cc774b8154a0cee0f52fbd4b867aa (diff) | |
| download | brew-fed668b330e151bde493e004d7c6ca57df4e19ff.tar.bz2 | |
Add `--only-cops`,`--except-cops` options for brew style and simplify cop names
Diffstat (limited to 'Library/Homebrew/rubocops/bottle_block_cop.rb')
| -rw-r--r-- | Library/Homebrew/rubocops/bottle_block_cop.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/rubocops/bottle_block_cop.rb b/Library/Homebrew/rubocops/bottle_block_cop.rb index 2d6289cbb..f0c7d59bb 100644 --- a/Library/Homebrew/rubocops/bottle_block_cop.rb +++ b/Library/Homebrew/rubocops/bottle_block_cop.rb @@ -7,7 +7,7 @@ module RuboCop # # - `rebuild` should be used instead of `revision` in `bottle` block - class CorrectBottleBlock < FormulaCop + class BottleBlock < FormulaCop MSG = "Use rebuild instead of revision in bottle block".freeze def audit_formula(_node, _class_node, _parent_class_node, formula_class_body_node) |
