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
…inuation`
Fixesrubocop#12862.
This PR fixes a false positive for `Style/RedundantLineContinuation`
when line continuations involve `return` with a return value.
Expected behavior
The following code should not be in violation because removing the backslash would change the meaning.
Actual behavior
It would violate
Style/RedundantLineContinuation
, then would be autocorrected to:Steps to reproduce the problem
Run rubocop on the example code above like this:
RuboCop version
The text was updated successfully, but these errors were encountered: