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
Running ./exe/rubocop --only=Style/MultilineTernaryOperator test.rb on a file test.rb:
./exe/rubocop --only=Style/MultilineTernaryOperator test.rb
foo ? bar : baz
gives me this error
An error occurred while Style/MultilineTernaryOperator cop was inspecting /Users/bquorning/Code/rubocop/rubocop/test.rb:1:0.
$ ❯ ./exe/rubocop -V 1.30.1 (using Parser 3.1.2.0, rubocop-ast 1.18.0, running on ruby 2.7.6 x86_64-darwin20) - rubocop-performance 1.14.1 - rubocop-rake 0.6.0 - rubocop-rspec 2.11.1
The text was updated successfully, but these errors were encountered:
[Fix rubocop#10711] Fix an error for Style/MultilineTernaryOperator
Style/MultilineTernaryOperator
cfc797d
04442ec
Fixes rubocop#10711. This PR fixes an error for `Style/MultilineTernaryOperator` when the false branch is on a separate line.
Merge pull request #10713 from koic/fix_an_error_for_style_multiline_…
63948bb
…ternary_operator [Fix #10711] Fix an error for `Style/MultilineTernaryOperator`
59b211f
Successfully merging a pull request may close this issue.
Running
./exe/rubocop --only=Style/MultilineTernaryOperator test.rb
on a file test.rb:gives me this error
RuboCop version
The text was updated successfully, but these errors were encountered: