lib/lookbook/support/store.rb in lookbook-1.3.3 vs lib/lookbook/support/store.rb in lookbook-1.3.4
- old
+ new
@@ -69,9 +69,9 @@
end
protected
def normalize_value(value)
- @recursive && !value.is_a?(Store) && value.is_a?(Hash) ? Store.new(value, recursive: @recursive) : value
+ (@recursive && !value.is_a?(Store) && value.is_a?(Hash)) ? Store.new(value, recursive: @recursive) : value
end
end
end