mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-15 08:50:45 -07:00
clean up all warnings by using new Environment
This commit is contained in:
@@ -4,7 +4,8 @@ require 'benchmark/ips'
|
||||
require_relative 'theme_runner'
|
||||
|
||||
RubyVM::YJIT.enable if defined?(RubyVM::YJIT)
|
||||
Liquid::Template.error_mode = ARGV.first.to_sym if ARGV.first
|
||||
Liquid::Environment.default.error_mode = ARGV.first.to_sym if ARGV.first
|
||||
|
||||
profiler = ThemeRunner.new
|
||||
|
||||
Benchmark.ips do |x|
|
||||
|
||||
Reference in New Issue
Block a user