Skip to content

Commit 11d5766

Browse files
authored
Update render_literal_helpers.rb
1 parent b7e40e4 commit 11d5766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/cop/github/render_literal_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module RenderLiteralHelpers
2929
PATTERN
3030

3131
def_node_matcher :render_view_component_instance_with_content?, <<-PATTERN
32-
(send nil? {:render :render_to_string} (send (send _ :new ...) `:with_content ...) $...)
32+
(send nil? {:render :render_to_string} (block (send (send _ :new ...) `:with_content ...) ...))
3333
PATTERN
3434

3535
def_node_matcher :render_view_component_collection?, <<-PATTERN

0 commit comments

Comments
 (0)