Generate should fail on invalid variable usage
j-vizcaino opened this issue · comments
Jérôme Vizcaino commented
Expected Behavior
Template generation should fail when using a variable that is not defined.
Current Behavior
Unknown variable is replaced with <no value>
Steps to Reproduce (for bugs)
- Create
test.txt
with{{ .Orbit.missing }}
- Run
orbit generate -f test.txt
- It should fail and print an error message
Your Environment
- Version used (
orbit version
):3.0.1