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
## Summary
Fixesrubocop#11239.
This PR fixes an incorrect autocorrect for `Style/GuardClause`
when using heredoc as an argument of raise in branch body.
## Other Information
Let `Layout/HeredocIndentation`, `Layout/ClosingHeredocIndentation`, and
`Layout/IndentationConsistency` cops autocorrect inconsistent indentations.
Consider
Autocorrect for
Style/GuardClause
generates the non-equivalent:Expected behavior
Probably something like
RuboCop version
The text was updated successfully, but these errors were encountered: