I was running Rubocop and it came across an error that it asked me to report. My version of rubocop is not the exact latest, but I checked the list of issues and did not find anything similar to what I encountered.
Expected behavior
running bundle exec rubocop -a would not have any errors
Actual behavior
An error occurred while Style/NestedTernaryOperator cop was inspecting a file.
The prompt said to mention the following information in the issue report:
1.28.2 (using Parser 3.1.2.0, rubocop-ast 1.17.0, running on ruby 2.5.7 x86_64-darwin21)
Describe here what actually happened.
Please use rubocop --debug when pasting rubocop output as it contains additional information.
I was running Rubocop and it came across an error that it asked me to report. My version of rubocop is not the exact latest, but I checked the list of issues and did not find anything similar to what I encountered.
Expected behavior
running
bundle exec rubocop -a
would not have any errorsActual behavior
An error occurred while Style/NestedTernaryOperator cop was inspecting a file.
The prompt said to mention the following information in the issue report:
1.28.2 (using Parser 3.1.2.0, rubocop-ast 1.17.0, running on ruby 2.5.7 x86_64-darwin21)
Describe here what actually happened.
Please use
rubocop --debug
when pasting rubocop output as it contains additional information.Steps to reproduce the problem
the problematic lines were:
RuboCop version
The text was updated successfully, but these errors were encountered: