Skip to content

Commit

Permalink
remove redundant line from thor template
Browse files Browse the repository at this point in the history
  • Loading branch information
tannalynn committed Jan 23, 2024
1 parent b16aafd commit 6c1e710
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/tasks/instrumentation_generator/templates/chain.tt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module NewRelic::Agent::Instrumentation
include NewRelic::Agent::Instrumentation::<%= @class_name %>

alias_method(:<%= @method.downcase %>_without_new_relic, :<%= @method.downcase %>)
alias_method(:<%= @method.downcase %>, :<%= @method.downcase %>_with_new_relic)

def <%= @method.downcase %><%= "(#{@args})" unless @args.empty? %>
<%= @method.downcase %>_with_new_relic<%= "(#{@args})" unless @args.empty? %> do
Expand Down

0 comments on commit 6c1e710

Please sign in to comment.