You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a standard formatter for liquid code the deployment fails due to misalignment on expected formatting of the {%- auth0: head -%} and {%- auth0: widget -%} tags.
Expectation
When I use a standard formatter of the supported coding languages the deployment should not fail due to an additional space added to adhere to the formatting rules.
Reproduction
Formatting the universal_login.liquid with these settings (in vscode):
Results in that the tags {%- auth0:head -%} and {%- auth0:widget -%} are re formatted to {%- auth0: head -%} and {%- auth0: widget -%} (notice added space)
Running a0deploy import the results in this error message:
2024-10-30T15:10:00.997Z - error: Problem running command deploy during stage processChanges when processing type branding
2024-10-30T15:10:00.997Z - error: The template must contain a single auth0:head tag and at least one auth0:widget tag.
Reformatting and removing the spaces results in a successful deployment
Deploy CLI version
7.23.4
Node version
v20.18.0
The text was updated successfully, but these errors were encountered:
Checklist
Description
When using a standard formatter for liquid code the deployment fails due to misalignment on expected formatting of the
{%- auth0: head -%}
and{%- auth0: widget -%}
tags.Expectation
When I use a standard formatter of the supported coding languages the deployment should not fail due to an additional space added to adhere to the formatting rules.
Reproduction
universal_login.liquid
with these settings (in vscode):Results in that the tags
{%- auth0:head -%}
and{%- auth0:widget -%}
are re formatted to{%- auth0: head -%}
and{%- auth0: widget -%}
(notice added space)Running
a0deploy import
the results in this error message:Deploy CLI version
7.23.4
Node version
v20.18.0
The text was updated successfully, but these errors were encountered: