defenseunicorns / maru-runner

The Unicorn Task Runner
Apache License 2.0
11 stars 1 forks source link

Maru doesn't error on go templating failures #171

Open corang opened 5 days ago

corang commented 5 days ago

Steps to reproduce

  1. have an action cmd that references a non existent var or input via the ${{ .inputs.x }} syntax

Expected result

maru alerts the user that the reference they've made doesn't exist

Actual Result

maru silently fails go templating and passes the literal ${{ .inputs.x }} to the shell where it errors, usually with "bad substitution"