Disable pending cops when running rubocop (#9136)
Merge pull request 9136
This commit is contained in:
parent
e05a25a668
commit
daca7e53a1
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
echo "RuboCop $(bundle exec rubocop --version)"
|
||||
bundle exec rubocop -D $@
|
||||
bundle exec rubocop -D --disable-pending-cops $@
|
||||
success=$?
|
||||
if ((success != 0)); then
|
||||
echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
|
||||
|
|
Loading…
Reference in New Issue