mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-02 08:35:14 -07:00
Compare commits
27
Commits
@@ -14,8 +14,21 @@ jobs:
|
|||||||
- { ruby: 3.0, allowed-failure: false } # minimum supported
|
- { ruby: 3.0, allowed-failure: false } # minimum supported
|
||||||
- { ruby: 3.2, allowed-failure: false }
|
- { ruby: 3.2, allowed-failure: false }
|
||||||
- { ruby: 3.3, allowed-failure: false }
|
- { ruby: 3.3, allowed-failure: false }
|
||||||
|
- { ruby: 3.3, allowed-failure: false }
|
||||||
- { ruby: 3.4, allowed-failure: false } # latest
|
- { ruby: 3.4, allowed-failure: false } # latest
|
||||||
|
- {
|
||||||
|
ruby: 3.4,
|
||||||
|
allowed-failure: false,
|
||||||
|
rubyopt: "--enable-frozen-string-literal",
|
||||||
|
}
|
||||||
|
- { ruby: 3.4, allowed-failure: false, rubyopt: "--yjit" }
|
||||||
- { ruby: ruby-head, allowed-failure: false }
|
- { ruby: ruby-head, allowed-failure: false }
|
||||||
|
- {
|
||||||
|
ruby: ruby-head,
|
||||||
|
allowed-failure: false,
|
||||||
|
rubyopt: "--enable-frozen-string-literal",
|
||||||
|
}
|
||||||
|
- { ruby: ruby-head, allowed-failure: false, rubyopt: "--yjit" }
|
||||||
name: Test Ruby ${{ matrix.entry.ruby }}
|
name: Test Ruby ${{ matrix.entry.ruby }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -26,6 +39,8 @@ jobs:
|
|||||||
bundler: latest
|
bundler: latest
|
||||||
- run: bundle exec rake
|
- run: bundle exec rake
|
||||||
continue-on-error: ${{ matrix.entry.allowed-failure }}
|
continue-on-error: ${{ matrix.entry.allowed-failure }}
|
||||||
|
env:
|
||||||
|
RUBYOPT: ${{ matrix.entry.rubyopt }}
|
||||||
|
|
||||||
memory_profile:
|
memory_profile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
+18
-6
@@ -1,22 +1,34 @@
|
|||||||
# Liquid Change Log
|
# Liquid Change Log
|
||||||
|
|
||||||
## 5.8.0 (unreleased)
|
## 5.8.1 (unreleased)
|
||||||
|
|
||||||
|
## 5.8.1
|
||||||
|
|
||||||
|
* Fix `{% doc %}` tag to be visitable [Guilherme Carreiro]
|
||||||
|
|
||||||
|
## 5.8.0
|
||||||
|
|
||||||
|
* Introduce the new `{% doc %}` tag [Guilherme Carreiro]
|
||||||
|
|
||||||
|
## 5.7.3
|
||||||
|
|
||||||
|
* Raise Liquid::SyntaxError when parsing invalidly encoded strings [Chris AtLee]
|
||||||
|
|
||||||
## 5.7.2 2025-01-31
|
## 5.7.2 2025-01-31
|
||||||
|
|
||||||
* Fix array filters to not support nested properties
|
* Fix array filters to not support nested properties [Guilherme Carreiro]
|
||||||
|
|
||||||
## 5.7.1 2025-01-24
|
## 5.7.1 2025-01-24
|
||||||
|
|
||||||
* Fix the `find` and `find_index`filters to return `nil` when filtering empty arrays
|
* Fix the `find` and `find_index`filters to return `nil` when filtering empty arrays [Guilherme Carreiro]
|
||||||
* Fix the `has` filter to return `false` when filtering empty arrays
|
* Fix the `has` filter to return `false` when filtering empty arrays [Guilherme Carreiro]
|
||||||
|
|
||||||
## 5.7.0 2025-01-16
|
## 5.7.0 2025-01-16
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|
||||||
* Add `find`, `find_index`, `has`, and `reject` filters to arrays
|
* Add `find`, `find_index`, `has`, and `reject` filters to arrays [Guilherme Carreiro]
|
||||||
* Compatibility with Ruby 3.4
|
* Compatibility with Ruby 3.4 [Ian Ker-Seymer]
|
||||||
|
|
||||||
## 5.6.4 2025-01-14
|
## 5.6.4 2025-01-14
|
||||||
|
|
||||||
|
|||||||
@@ -161,6 +161,12 @@ module Liquid
|
|||||||
end
|
end
|
||||||
# rubocop:enable Metrics/BlockNesting
|
# rubocop:enable Metrics/BlockNesting
|
||||||
output << EOS
|
output << EOS
|
||||||
|
rescue ::ArgumentError => e
|
||||||
|
if e.message == "invalid byte sequence in #{ss.string.encoding}"
|
||||||
|
raise SyntaxError, "Invalid byte sequence in #{ss.string.encoding}"
|
||||||
|
else
|
||||||
|
raise
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def raise_syntax_error(start_pos, ss)
|
def raise_syntax_error(start_pos, ss)
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
require 'cgi'
|
require 'cgi'
|
||||||
require 'base64'
|
require 'base64'
|
||||||
require 'bigdecimal'
|
require 'bigdecimal'
|
||||||
|
|
||||||
module Liquid
|
module Liquid
|
||||||
module StandardFilters
|
module StandardFilters
|
||||||
MAX_I32 = (1 << 31) - 1
|
MAX_I32 = (1 << 31) - 1
|
||||||
@@ -387,6 +386,7 @@ module Liquid
|
|||||||
end
|
end
|
||||||
elsif ary.all? { |el| el.respond_to?(:[]) }
|
elsif ary.all? { |el| el.respond_to?(:[]) }
|
||||||
begin
|
begin
|
||||||
|
property = Utils.to_s(property)
|
||||||
ary.sort { |a, b| nil_safe_compare(a[property], b[property]) }
|
ary.sort { |a, b| nil_safe_compare(a[property], b[property]) }
|
||||||
rescue TypeError
|
rescue TypeError
|
||||||
raise_property_error(property)
|
raise_property_error(property)
|
||||||
@@ -416,6 +416,7 @@ module Liquid
|
|||||||
end
|
end
|
||||||
elsif ary.all? { |el| el.respond_to?(:[]) }
|
elsif ary.all? { |el| el.respond_to?(:[]) }
|
||||||
begin
|
begin
|
||||||
|
property = Utils.to_s(property)
|
||||||
ary.sort { |a, b| nil_safe_casecmp(a[property], b[property]) }
|
ary.sort { |a, b| nil_safe_casecmp(a[property], b[property]) }
|
||||||
rescue TypeError
|
rescue TypeError
|
||||||
raise_property_error(property)
|
raise_property_error(property)
|
||||||
@@ -456,7 +457,7 @@ module Liquid
|
|||||||
# Tests if any item in an array has a specific property value.
|
# Tests if any item in an array has a specific property value.
|
||||||
# @liquid_description
|
# @liquid_description
|
||||||
# This requires you to provide both the property name and the associated value.
|
# This requires you to provide both the property name and the associated value.
|
||||||
# @liquid_syntax array | some: string, string
|
# @liquid_syntax array | has: string, string
|
||||||
# @liquid_return [boolean]
|
# @liquid_return [boolean]
|
||||||
def has(input, property, target_value = nil)
|
def has(input, property, target_value = nil)
|
||||||
filter_array(input, property, target_value, false) { |ary, &block| ary.any?(&block) }
|
filter_array(input, property, target_value, false) { |ary, &block| ary.any?(&block) }
|
||||||
@@ -503,6 +504,7 @@ module Liquid
|
|||||||
elsif ary.empty? # The next two cases assume a non-empty array.
|
elsif ary.empty? # The next two cases assume a non-empty array.
|
||||||
[]
|
[]
|
||||||
else
|
else
|
||||||
|
property = Utils.to_s(property)
|
||||||
ary.uniq do |item|
|
ary.uniq do |item|
|
||||||
item[property]
|
item[property]
|
||||||
rescue TypeError
|
rescue TypeError
|
||||||
@@ -534,6 +536,11 @@ module Liquid
|
|||||||
# @liquid_syntax array | map: string
|
# @liquid_syntax array | map: string
|
||||||
# @liquid_return [array[untyped]]
|
# @liquid_return [array[untyped]]
|
||||||
def map(input, property)
|
def map(input, property)
|
||||||
|
property = Utils.to_s(property)
|
||||||
|
|
||||||
|
# Return the input array if property is empty (no-op)
|
||||||
|
return InputIterator.new(input, context).to_a if property.empty?
|
||||||
|
|
||||||
InputIterator.new(input, context).map do |e|
|
InputIterator.new(input, context).map do |e|
|
||||||
e = e.call if e.is_a?(Proc)
|
e = e.call if e.is_a?(Proc)
|
||||||
|
|
||||||
@@ -563,6 +570,7 @@ module Liquid
|
|||||||
elsif ary.empty? # The next two cases assume a non-empty array.
|
elsif ary.empty? # The next two cases assume a non-empty array.
|
||||||
[]
|
[]
|
||||||
else
|
else
|
||||||
|
property = Liquid::Utils.to_s(property)
|
||||||
ary.reject do |item|
|
ary.reject do |item|
|
||||||
item[property].nil?
|
item[property].nil?
|
||||||
rescue TypeError
|
rescue TypeError
|
||||||
@@ -712,7 +720,16 @@ module Liquid
|
|||||||
input.gsub(/\r?\n/, "<br />\n")
|
input.gsub(/\r?\n/, "<br />\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
# Reformat a date using Ruby's core Time#strftime( string ) -> string
|
# @liquid_public_docs
|
||||||
|
# @liquid_type filter
|
||||||
|
# @liquid_category date
|
||||||
|
# @liquid_summary
|
||||||
|
# Formats a date according to a specified format string.
|
||||||
|
# @liquid_description
|
||||||
|
# This filter formats a date using various format specifiers. If the format string is empty,
|
||||||
|
# the original input is returned. If the input cannot be converted to a date, the original input is returned.
|
||||||
|
#
|
||||||
|
# The following format specifiers can be used:
|
||||||
#
|
#
|
||||||
# %a - The abbreviated weekday name (``Sun'')
|
# %a - The abbreviated weekday name (``Sun'')
|
||||||
# %A - The full weekday name (``Sunday'')
|
# %A - The full weekday name (``Sunday'')
|
||||||
@@ -741,8 +758,8 @@ module Liquid
|
|||||||
# %Y - Year with century
|
# %Y - Year with century
|
||||||
# %Z - Time zone name
|
# %Z - Time zone name
|
||||||
# %% - Literal ``%'' character
|
# %% - Literal ``%'' character
|
||||||
#
|
# @liquid_syntax date | date: string
|
||||||
# See also: http://www.ruby-doc.org/core/Time.html#method-i-strftime
|
# @liquid_return [string]
|
||||||
def date(input, format)
|
def date(input, format)
|
||||||
str_format = Utils.to_s(format)
|
str_format = Utils.to_s(format)
|
||||||
return input if str_format.empty?
|
return input if str_format.empty?
|
||||||
@@ -943,6 +960,8 @@ module Liquid
|
|||||||
# @liquid_syntax array | sum
|
# @liquid_syntax array | sum
|
||||||
# @liquid_return [number]
|
# @liquid_return [number]
|
||||||
def sum(input, property = nil)
|
def sum(input, property = nil)
|
||||||
|
property = property.nil? ? nil : Utils.to_s(property)
|
||||||
|
|
||||||
ary = InputIterator.new(input, context)
|
ary = InputIterator.new(input, context)
|
||||||
return 0 if ary.empty?
|
return 0 if ary.empty?
|
||||||
|
|
||||||
@@ -971,9 +990,10 @@ module Liquid
|
|||||||
|
|
||||||
def filter_array(input, property, target_value, default_value = [], &block)
|
def filter_array(input, property, target_value, default_value = [], &block)
|
||||||
ary = InputIterator.new(input, context)
|
ary = InputIterator.new(input, context)
|
||||||
|
|
||||||
return default_value if ary.empty?
|
return default_value if ary.empty?
|
||||||
|
|
||||||
|
property = Utils.to_s(property)
|
||||||
|
|
||||||
block.call(ary) do |item|
|
block.call(ary) do |item|
|
||||||
if target_value.nil?
|
if target_value.nil?
|
||||||
item[property]
|
item[property]
|
||||||
|
|||||||
+10
-2
@@ -13,12 +13,16 @@ module Liquid
|
|||||||
# Liquid code inside will be parsed but not executed. This facilitates
|
# Liquid code inside will be parsed but not executed. This facilitates
|
||||||
# tooling support for features like code completion, linting, and inline
|
# tooling support for features like code completion, linting, and inline
|
||||||
# documentation.
|
# documentation.
|
||||||
|
#
|
||||||
|
# For detailed documentation syntax and examples, see the
|
||||||
|
# [`LiquidDoc` reference](/docs/storefronts/themes/tools/liquid-doc).
|
||||||
|
#
|
||||||
# @liquid_syntax
|
# @liquid_syntax
|
||||||
# {% doc %}
|
# {% doc %}
|
||||||
# Renders a message.
|
# Renders a message.
|
||||||
#
|
#
|
||||||
# @param {string} foo - A foo value.
|
# @param {string} foo - A string value.
|
||||||
# @param {string} [bar] - An optional bar value.
|
# @param {string} [bar] - An optional string value.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# {% render 'message', foo: 'Hello', bar: 'World' %}
|
# {% render 'message', foo: 'Hello', bar: 'World' %}
|
||||||
@@ -55,6 +59,10 @@ module Liquid
|
|||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def nodelist
|
||||||
|
[]
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def ensure_valid_markup(tag_name, markup, parse_context)
|
def ensure_valid_markup(tag_name, markup, parse_context)
|
||||||
|
|||||||
@@ -103,6 +103,12 @@ module Liquid
|
|||||||
|
|
||||||
pos = @ss.pos -= 2
|
pos = @ss.pos -= 2
|
||||||
@source.byteslice(start, pos - start)
|
@source.byteslice(start, pos - start)
|
||||||
|
rescue ::ArgumentError => e
|
||||||
|
if e.message == "invalid byte sequence in #{@ss.string.encoding}"
|
||||||
|
raise SyntaxError, "Invalid byte sequence in #{@ss.string.encoding}"
|
||||||
|
else
|
||||||
|
raise
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def next_variable_token
|
def next_variable_token
|
||||||
|
|||||||
@@ -2,5 +2,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Liquid
|
module Liquid
|
||||||
VERSION = "5.7.2"
|
VERSION = "5.8.3"
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -560,15 +560,47 @@ class StandardFiltersTest < Minitest::Test
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_map_returns_empty_with_no_property
|
def test_map_with_nil_property
|
||||||
foo = [
|
array = [
|
||||||
|
{ "handle" => "alpha", "value" => "A" },
|
||||||
|
{ "handle" => "beta", "value" => "B" },
|
||||||
|
{ "handle" => "gamma", "value" => "C" }
|
||||||
|
]
|
||||||
|
|
||||||
|
assert_template_result("alpha beta gamma", "{{ array | map: nil | map: 'handle' | join: ' ' }}", { "array" => array })
|
||||||
|
end
|
||||||
|
|
||||||
|
def test_map_with_empty_string_property
|
||||||
|
array = [
|
||||||
|
{ "handle" => "alpha", "value" => "A" },
|
||||||
|
{ "handle" => "beta", "value" => "B" },
|
||||||
|
{ "handle" => "gamma", "value" => "C" }
|
||||||
|
]
|
||||||
|
|
||||||
|
assert_template_result("alpha beta gamma", "{{ array | map: '' | map: 'handle' | join: ' ' }}", { "array" => array })
|
||||||
|
end
|
||||||
|
|
||||||
|
def test_map_with_value_property
|
||||||
|
array = [
|
||||||
|
{ "handle" => "alpha", "value" => "A" },
|
||||||
|
{ "handle" => "beta", "value" => "B" },
|
||||||
|
{ "handle" => "gamma", "value" => "C" }
|
||||||
|
]
|
||||||
|
|
||||||
|
assert_template_result("A B C", "{{ array | map: 'value' | join: ' ' }}", { "array" => array })
|
||||||
|
end
|
||||||
|
|
||||||
|
def test_map_returns_input_with_no_property
|
||||||
|
input = [
|
||||||
[1],
|
[1],
|
||||||
[2],
|
[2],
|
||||||
[3],
|
[3],
|
||||||
]
|
]
|
||||||
assert_raises(Liquid::ArgumentError) do
|
result = @filters.map(input, nil)
|
||||||
@filters.map(foo, nil)
|
assert_equal(input.flatten, result)
|
||||||
end
|
|
||||||
|
result = @filters.map(input, '')
|
||||||
|
assert_equal(input.flatten, result)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_sort_works_on_enumerables
|
def test_sort_works_on_enumerables
|
||||||
@@ -1033,6 +1065,22 @@ class StandardFiltersTest < Minitest::Test
|
|||||||
assert_template_result(expected_output, template, { "array" => array })
|
assert_template_result(expected_output, template, { "array" => array })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_where_with_empty_string_is_a_no_op
|
||||||
|
environment = { "array" => ["alpha", "beta", "gamma"] }
|
||||||
|
expected_output = "alpha beta gamma"
|
||||||
|
template = "{{ array | where: '' | join: ' ' }}"
|
||||||
|
|
||||||
|
assert_template_result(expected_output, template, environment)
|
||||||
|
end
|
||||||
|
|
||||||
|
def test_where_with_nil_is_a_no_op
|
||||||
|
environment = { "array" => ["alpha", "beta", "gamma"] }
|
||||||
|
expected_output = "alpha beta gamma"
|
||||||
|
template = "{{ array | where: nil | join: ' ' }}"
|
||||||
|
|
||||||
|
assert_template_result(expected_output, template, environment)
|
||||||
|
end
|
||||||
|
|
||||||
def test_where_with_value
|
def test_where_with_value
|
||||||
array = [
|
array = [
|
||||||
{ "handle" => "alpha", "ok" => true },
|
{ "handle" => "alpha", "ok" => true },
|
||||||
@@ -1061,6 +1109,19 @@ class StandardFiltersTest < Minitest::Test
|
|||||||
assert_template_result(expected_output, template, { "array" => array })
|
assert_template_result(expected_output, template, { "array" => array })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_where_with_non_string_property
|
||||||
|
array = [
|
||||||
|
{ "handle" => "alpha", "{}" => true },
|
||||||
|
{ "handle" => "beta", "{}" => false },
|
||||||
|
{ "handle" => "gamma", "{}" => false },
|
||||||
|
{ "handle" => "delta", "{}" => true },
|
||||||
|
]
|
||||||
|
template = "{{ array | where: some_property, true | map: 'handle' | join: ' ' }}"
|
||||||
|
expected_output = "alpha delta"
|
||||||
|
|
||||||
|
assert_template_result(expected_output, template, { "array" => array, "some_property" => {} })
|
||||||
|
end
|
||||||
|
|
||||||
def test_where_string_keys
|
def test_where_string_keys
|
||||||
input = [
|
input = [
|
||||||
"alpha", "beta", "gamma", "delta"
|
"alpha", "beta", "gamma", "delta"
|
||||||
@@ -1268,6 +1329,17 @@ class StandardFiltersTest < Minitest::Test
|
|||||||
assert_template_result("0", "{{ input | sum: 'subtotal' }}", { "input" => input })
|
assert_template_result("0", "{{ input | sum: 'subtotal' }}", { "input" => input })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_sum_with_non_string_property
|
||||||
|
input = [{ "true" => 1 }, { "1.0" => 0.2, "1" => -0.3 }, { "1..5" => 0.4 }]
|
||||||
|
|
||||||
|
assert_equal(1, @filters.sum(input, true))
|
||||||
|
assert_equal(0.2, @filters.sum(input, 1.0))
|
||||||
|
assert_equal(-0.3, @filters.sum(input, 1))
|
||||||
|
assert_equal(0.4, @filters.sum(input, (1..5)))
|
||||||
|
assert_equal(0, @filters.sum(input, nil))
|
||||||
|
assert_equal(0, @filters.sum(input, ""))
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def with_timezone(tz)
|
def with_timezone(tz)
|
||||||
|
|||||||
@@ -131,6 +131,16 @@ class LexerUnitTest < Minitest::Test
|
|||||||
assert_equal([[:id, "false"], [:number, "1"], [:end_of_string]], tokenize("false 1"))
|
assert_equal([[:id, "false"], [:number, "1"], [:end_of_string]], tokenize("false 1"))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_error_with_invalid_utf8
|
||||||
|
error = assert_raises(SyntaxError) do
|
||||||
|
tokenize("\x00\xff")
|
||||||
|
end
|
||||||
|
assert_equal(
|
||||||
|
'Liquid syntax error: Invalid byte sequence in UTF-8',
|
||||||
|
error.message,
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def tokenize(input)
|
def tokenize(input)
|
||||||
|
|||||||
@@ -157,4 +157,28 @@ class DocTagUnitTest < Minitest::Test
|
|||||||
assert_template_result('', "{% doc %}123{% enddoc\nxyz %}")
|
assert_template_result('', "{% doc %}123{% enddoc\nxyz %}")
|
||||||
assert_template_result('', "{% doc %}123{% enddoc\n xyz enddoc %}")
|
assert_template_result('', "{% doc %}123{% enddoc\n xyz enddoc %}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_doc_tag_visitor
|
||||||
|
template_source = '{% doc %}{% enddoc %}'
|
||||||
|
|
||||||
|
assert_equal(
|
||||||
|
[Liquid::Doc],
|
||||||
|
visit(template_source),
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
private
|
||||||
|
|
||||||
|
def traversal(template)
|
||||||
|
ParseTreeVisitor
|
||||||
|
.for(Template.parse(template).root)
|
||||||
|
.add_callback_for(Liquid::Doc) do |tag|
|
||||||
|
tag_class = tag.class
|
||||||
|
tag_class
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def visit(template)
|
||||||
|
traversal(template).visit.flatten.compact
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -35,4 +35,15 @@ class TemplateUnitTest < Minitest::Test
|
|||||||
def test_template_inheritance
|
def test_template_inheritance
|
||||||
assert_equal("foo", TemplateSubclass.parse("foo").render)
|
assert_equal("foo", TemplateSubclass.parse("foo").render)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_invalid_utf8
|
||||||
|
input = "\xff\x00"
|
||||||
|
error = assert_raises(SyntaxError) do
|
||||||
|
Liquid::Tokenizer.new(source: input, string_scanner: StringScanner.new(input))
|
||||||
|
end
|
||||||
|
assert_equal(
|
||||||
|
'Liquid syntax error: Invalid byte sequence in UTF-8',
|
||||||
|
error.message,
|
||||||
|
)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user