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
…tor` if using assignment method and condition/branch is multiline
Update lib/rubocop/cop/style/multiline_ternary_operator.rb
Co-authored-by: Koichi ITO <koic.ito@gmail.com>
Style/MultilineTernaryOperator created infinite loop in specific code below.
Expected behavior
No error.
Actual behavior
Steps to reproduce the problem
Format this with
-A
option. No config required.RuboCop version
The text was updated successfully, but these errors were encountered: