You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to update rubocop in our project from rubocop (0.82.0) to 0.85.1.
Running rubocop yielded new offenses (but ran fine without errors) which I wanted to add to the rubocop todo via bundle exec rubocop --auto-gen-config.
While generating the .rubocop_todo.yml I ran into a lots of An error occurred while VariableForce cop was inspecting... errors.
Here is the debug for one file inspected in debug mode:
1 file inspected, 12 offenses detected
1 error occurred:
An error occurred while VariableForce cop was inspecting /Users/carstenwirth/Workspace/<path_to_file>
Errors are usually caused by RuboCop bugs.
Please, report your problems to RuboCop's issue tracker.https://github.com/rubocop-hq/rubocop/issuesMention the following information in the issue report:0.85.1 (using Parser 2.7.1.3, rubocop-ast 0.0.3, running on ruby 2.6.6 x86_64-darwin19)Finished in 0.22288399992976338 seconds
bundle exec rubocop --auto-gen-config should run without errors
Actual behavior
bundle exec rubocop ran fine after update with the old .rubocop_todo.yml. but
But bundle exec rubocop --auto-gen-config and followup bundle exec rubocop are raising An error occurred while VariableForce cop was inspecting... errors.
I just tried to update rubocop in our project from rubocop (0.82.0) to 0.85.1.
Running rubocop yielded new offenses (but ran fine without errors) which I wanted to add to the rubocop todo via
bundle exec rubocop --auto-gen-config
.While generating the
.rubocop_todo.yml
I ran into a lots ofAn error occurred while VariableForce cop was inspecting...
errors.Here is the debug for one file inspected in debug mode:
Expected behavior
bundle exec rubocop --auto-gen-config
should run without errorsActual behavior
bundle exec rubocop
ran fine after update with the old.rubocop_todo.yml
. butBut
bundle exec rubocop --auto-gen-config
and followupbundle exec rubocop
are raisingAn error occurred while VariableForce cop was inspecting...
errors.Steps to reproduce the problem
see above
RuboCop version
The text was updated successfully, but these errors were encountered: