Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maru doesn't error on go templating failures #171

Open
corang opened this issue Nov 19, 2024 · 0 comments
Open

Maru doesn't error on go templating failures #171

corang opened this issue Nov 19, 2024 · 0 comments
Labels
possible-bug 🐛 Something may not be working

Comments

@corang
Copy link

corang commented Nov 19, 2024

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"

@corang corang added the possible-bug 🐛 Something may not be working label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible-bug 🐛 Something may not be working
Projects
None yet
Development

No branches or pull requests

1 participant