mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-19 02:40:41 -07:00
Remove the Profiler#initialize argument which is effectively now unused
The @root_timing Timing object that it was used with never exposed that name.
This commit is contained in:
@@ -220,7 +220,7 @@ module Liquid
|
||||
if @profiling && !context.partial
|
||||
raise "Profiler not loaded, require 'liquid/profiler' first" unless defined?(Liquid::Profiler)
|
||||
|
||||
@profiler = Profiler.new(context.template_name)
|
||||
@profiler = Profiler.new
|
||||
@profiler.start
|
||||
|
||||
begin
|
||||
|
||||
Reference in New Issue
Block a user