Skip to content

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

@axelwass

Description

@axelwass

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions