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

Exit with code 1 on error #196

Merged
merged 2 commits into from
Mar 26, 2022
Merged

Exit with code 1 on error #196

merged 2 commits into from
Mar 26, 2022

Conversation

Flakebi
Copy link
Contributor

@Flakebi Flakebi commented Mar 25, 2022

If relaxed is run with --build-once and fails to generate a pdf, e.g.
because of a pug syntax error, exit with status 1.
Fixes #114

Flakebi and others added 2 commits March 25, 2022 10:59
If relaxed is run with --build-once and fails to generate a pdf, e.g.
because of a pug syntax error, exit with status 1.
Fixes RelaxedJS#114
@Zulko Zulko merged commit 7b8d06b into RelaxedJS:master Mar 26, 2022
@Flakebi Flakebi deleted the exit-status branch March 26, 2022 06:22
@andremacola
Copy link

This breaks --build-once

@Flakebi Flakebi mentioned this pull request Apr 29, 2022
@Flakebi
Copy link
Contributor Author

Flakebi commented Apr 29, 2022

Thanks for the heads-up, I think this went wrong when merging two PRs that touched the same lines. I uploaded a fix in #197.

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

Successfully merging this pull request may close these issues.

Exit code is 0 despite failure to create PDF
3 participants