mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
Instrument usage of offset:continue in for loops
This commit is contained in:
@@ -198,6 +198,7 @@ module Liquid
|
||||
case key
|
||||
when 'offset'
|
||||
@from = if expr == 'continue'
|
||||
Usage.increment('for_offset_continue')
|
||||
:continue
|
||||
else
|
||||
parse_expression(expr)
|
||||
|
||||
Reference in New Issue
Block a user