Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

compile panics when there is error in the mustache templating #107

Open
zramsay opened this issue Feb 1, 2021 · 0 comments
Open

compile panics when there is error in the mustache templating #107

zramsay opened this issue Feb 1, 2021 · 0 comments

Comments

@zramsay
Copy link
Contributor

zramsay commented Feb 1, 2021

in this particular case i was iterating over a list, and accidentally used a backslash instead of a forward slash e.g.,

{{#tasks}}
- {{.}}
{{\tasks}}

The correct snippet

{{#tasks}}
- {{.}}
{{/tasks}}

the error:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x135acc8]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant