Disable pending cops when running rubocop (#9136)

Merge pull request 9136
This commit is contained in:
Youssef Boulkaid 2022-09-29 12:37:42 +02:00 committed by GitHub
parent e05a25a668
commit daca7e53a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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"