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
|
#!/bin/bash
|
||||||
echo "RuboCop $(bundle exec rubocop --version)"
|
echo "RuboCop $(bundle exec rubocop --version)"
|
||||||
bundle exec rubocop -D $@
|
bundle exec rubocop -D --disable-pending-cops $@
|
||||||
success=$?
|
success=$?
|
||||||
if ((success != 0)); then
|
if ((success != 0)); then
|
||||||
echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
|
echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
|
||||||
|
|
Loading…
Reference in New Issue