We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run the following command, and it says no offenses detected but the exit code is 1.
no offenses detected
1
$ bundle exec rubocop-git origin/master HEAD 12 files inspected, no offenses detected $ echo $? 1
rubocop-git version:
rubocop-git
$ rubocop-git -v 0.1.3
rubocop version:
rubocop
$ rubocop -v 0.52.1
ruby version:
ruby
$ ruby -v ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin17]
The text was updated successfully, but these errors were encountered:
After some debugging, I figured out that this is the cause of the issue:
# rubocop:disable Metrics/BlockLength
This could be fixed for me if #33 is merged, since I just can disable the cop for the whole spec directory.
spec
However, I think this should be fixed later, so it also supports comments to disable/enable cops.
Sorry, something went wrong.
if anyone is still using this, i've release a forked gem, rubocop-git2, with this and other fixes included
rubocop-git2
No branches or pull requests
When I run the following command, and it says
no offenses detected
but the exit code is1
.rubocop-git
version:rubocop
version:ruby
version:The text was updated successfully, but these errors were encountered: