Closed andershagbard closed 1 year ago
Describe the bug I get the following error code:
✖ prettier --write: [error] src/templates/search.items.liquid: Error: Line 167, col 59: [error] 166 | liquidTagOpenPaginateMarkup = [error] > 167 | liquidExpression space+ "by" space+ liquidExpression (argumentSeparatorOptionalComma tagArguments)? space* [error] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [error] 168 | [error] Nullable expression (argumentSeparatorOptionalComma tagArguments) is not allowed inside '?' (possible infinite loop) [error] Application stack (most recent application last): [error] Node [error] listOf<LiquidStatement,statementSep> [error] nonemptyListOf<LiquidStatement,statementSep> [error] LiquidStatement [error] liquidTagOpen [error] liquidTagOpenPaginate [error] liquidTagOpenRule<"paginate",liquidTagOpenPaginateMarkup> [error] liquidTagOpenPaginateMarkup ... File stack trace begins here
Entire file:
{%- liquid layout none paginate search.results by 28 for item in search.results if item.object_type != 'product' continue endif render 'product-item', product: item endfor endpaginate -%}
Debugging information
Describe the bug I get the following error code:
Entire file:
Debugging information