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
Fixesrubocop#7590.
This PR fixes an error for `Layout/SpaceBeforeBlockBraces` when using with
`EnforcedStyle: line_count_based` of `Style/BlockDelimiters` cop.
Fixes#7590.
This PR fixes an error for `Layout/SpaceBeforeBlockBraces` when using with
`EnforcedStyle: line_count_based` of `Style/BlockDelimiters` cop.
Layout/SpaceBeforeBlockBraces cop raises
undefined local variable or method
when processing a file like below.foo.rb
Expected behavior
Rubocop should not raise the error.
Actual behavior
Rubocop raises the error.
Steps to reproduce the problem
Under the following configuration,
Run rubocop
RuboCop version
The text was updated successfully, but these errors were encountered: