Revert "Merge pull request #1359 from Shopify/pz-instrument-range-floats"

This reverts commit 300adfd7ae, reversing
changes made to ed0aebcbc9.
This commit is contained in:
Peter Zhu
2020-12-01 14:37:23 -05:00
parent 29d5d9674a
commit ba657871bc
2 changed files with 2 additions and 22 deletions

View File

@@ -8,8 +8,6 @@ module Liquid
if start_obj.respond_to?(:evaluate) || end_obj.respond_to?(:evaluate)
new(start_obj, end_obj)
else
Usage.increment('range_float') if start_obj.is_a?(Float) || end_obj.is_a?(Float)
start_obj.to_i..end_obj.to_i
end
end