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
# frozen_string_literal: truedefexecute
::Redacted.redacted(@redacted).redacted2(@redacted2).redacted3(redacted).# redacted# redacted# blank lines help the reader understand that these comments pertain only to# the one following method call (`references`)# redacted# redactedreferences(:redacted,:redacted2,:redacted3,:redacted4,:redacted5).redacted4(redacted2).redacted5(@redacted3).redacted6(redacted: true)end
Expected behavior
No offenses expected
Actual behavior
bin/rubocop input.rb
Inspecting 1 file
C
Offenses:
input.rb:16:1: C: Layout/EmptyLinesAroundArguments: Empty line detected around arguments.
1 file inspected, 1 offense detected, 1 offense auto-correctable
…rguments`
Fixesrubocop#9097.
This PR fixes a false positive for `Layout/EmptyLinesAroundArguments`
when blank line is inserted between method with arguments and receiver.
Fixes#9097.
This PR fixes a false positive for `Layout/EmptyLinesAroundArguments`
when blank line is inserted between method with arguments and receiver.
Input
Expected behavior
No offenses expected
Actual behavior
Steps to reproduce the problem
See input above.
RuboCop version
The text was updated successfully, but these errors were encountered: