Skip to content

Commit

Permalink
Update render_literal_helpers.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon authored Dec 16, 2024
1 parent 8c91e22 commit ec12a4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/cop/github/render_literal_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ module RenderLiteralHelpers
PATTERN

def_node_matcher :render_view_component_instance_with_content?, <<-PATTERN
(send nil? {:render :render_to_string} (send (send _ :new ...) `:with_content ...))
(send nil? {:render :render_to_string} (send (send _ :new ...) :with_content ...))
PATTERN

def_node_matcher :render_view_component_instance_with_inline_block?, <<-PATTERN
(send nil? {:render :render_to_string} (block (send (send _ :new ...) ...) ...))
(block (send nil? {:render :render_to_string} (send _ :new ...)) ...)
PATTERN

def_node_matcher :render_view_component_collection?, <<-PATTERN
Expand Down

0 comments on commit ec12a4c

Please sign in to comment.