Compare commits

...
Author SHA1 Message Date
Thierry Joyal c0ffeef30a Liquid::Drop: Expect @context to always be set 2022-03-02 12:05:24 +00:00
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -1,5 +1,12 @@
# Liquid Change Log
## 5.2.1 (unreleased)
### Features
### Fixes
* Liquid::Drop: Expect @context to always be set (#1528) [Thierry Joyal]
## 5.2.0 2021-03-01
### Features
+1 -1
View File
@@ -27,7 +27,7 @@ module Liquid
# Catch all for the method
def liquid_method_missing(method)
return nil unless @context&.strict_variables
return nil unless @context.strict_variables
raise Liquid::UndefinedDropMethod, "undefined method #{method}"
end