Skip to content

Commit b7e40e4

Browse files
authored
Update render_literal_helpers.rb to allow for inline block content
1 parent c83f142 commit b7e40e4

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} (send (send _ :new ...) `:with_content ...) $...)
3333
PATTERN
3434

3535
def_node_matcher :render_view_component_collection?, <<-PATTERN

0 commit comments

Comments
 (0)