-
This entry has been made to answer a repeating question in the issues section. When handling certain files, e.g. Github Workflow yaml files, it seems that |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
ReasonIf the file in question is e.g. a Github Workflow yaml file, it may contain the Github variable syntax:
This conflicts with the
As Solution 1One way to solve this issue, is to use the following
Solution 2Another way is to use:
|
Beta Was this translation helpful? Give feedback.
Reason
If the file in question is e.g. a Github Workflow yaml file, it may contain the Github variable syntax:
This conflicts with the
Liquid
syntax which is:As
Liquid
can't tell the difference, it actually tries to substitude the Github variable. It fails and just leaves the syntax in the file. It actually fails handling the file entirely - it even fails at notifyingcargo-generate
that there were an issue.Solution 1
One way to solve this issue, is to use the following
Liquid
syntax:Solution 2
Another way is to use: