-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
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
Fix undefined method `status' for #<RuboCop::ConfigNotFoundError> (NoMethodError) #5651
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please, add a changelog entry for the bugfix. |
onk
force-pushed
the
error_status
branch
2 times, most recently
from
March 9, 2018 04:16
458508b
to
6d01239
Compare
…MethodError) ``` $ rubocop -c file_that_does_not_exist.yml foo.rb Configuration file not found: /Users/onaka/src/github.com/bbatsov/rubocop/file_that_does_not_exist.yml Traceback (most recent call last): 6: from /Users/onaka/.gem/ruby/2.6.0/bin/rubocop:23:in `<main>' 5: from /Users/onaka/.gem/ruby/2.6.0/bin/rubocop:23:in `load' 4: from /Users/onaka/.gem/ruby/2.6.0/gems/rubocop-0.53.0/bin/rubocop:12:in `<top (required)>' 3: from /opt/rubies/2.6.0-dev/lib/ruby/2.6.0/benchmark.rb:308:in `realtime' 2: from /Users/onaka/.gem/ruby/2.6.0/gems/rubocop-0.53.0/bin/rubocop:13:in `block in <top (required)>' 1: from /Users/onaka/.gem/ruby/2.6.0/gems/rubocop-0.53.0/lib/rubocop/cli.rb:36:in `run' /Users/onaka/.gem/ruby/2.6.0/gems/rubocop-0.53.0/lib/rubocop/cli.rb:44:in `rescue in run': undefined method `status' for #<RuboCop::ConfigNotFoundError:0x00007fd0b808e040> (NoMethodError) ```
👍 |
This was referenced Mar 21, 2018
This was referenced Mar 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Replace this text with a summary of the changes in your PR.
The more detailed you are, the better.
Before submitting the PR make sure the following are checked:
[Fix #issue-number]
(if the related issue exists).master
(if not - rebase it).and description in grammatically correct, complete sentences.
rake default
orrake parallel
. It executes all tests and RuboCop for itself, and generates the documentation.