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

Executable haskell-mustache exits with success (status code 0) even if it reports an error. #65

Open
kindaro opened this issue Apr 5, 2024 · 0 comments

Comments

@kindaro
Copy link

kindaro commented Apr 5, 2024

see for yourself

% if haskell-mustache nonsense.template imaginary.yaml; then echo "success"; else echo "failure"; fi
"nonsense.template" (line 1, column 1):
Template file 'nonsense.template' not found
success

what happens

The example above prints success. Overall, there is no way to programmatically detect that there was an error.

what should happen

The example above should print failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant