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

Program should use different Exit Status when it finds an error #15

Open
axelwass opened this issue Oct 17, 2017 · 0 comments
Open

Program should use different Exit Status when it finds an error #15

axelwass opened this issue Oct 17, 2017 · 0 comments

Comments

@axelwass
Copy link

I wanted to use this tool to corroborate my EJS as a validator before deploying the files and actually using them, but it always returns an exit code of 0 regardless if it found or not errors while compiling the EJS's.

I tried this out by:

$>ejs-cli MyFileName
{ReferenceError:....}
$>echo Exit Code is %errorlevel%
Exit Code is 0

It would be grate if the Exit code would represent the real exit status of the application.

I really liked this tool otherwise,
Thanks for your time and effort.

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