Skip to content

Exit with code 1 on error#196

Merged
Zulko merged 2 commits into
RelaxedJS:masterfrom
Flakebi:exit-status
Mar 26, 2022
Merged

Exit with code 1 on error#196
Zulko merged 2 commits into
RelaxedJS:masterfrom
Flakebi:exit-status

Conversation

@Flakebi

@Flakebi Flakebi commented Mar 25, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown

This breaks --build-once

@Flakebi Flakebi mentioned this pull request Apr 29, 2022
@Flakebi

Flakebi commented Apr 29, 2022

Copy link
Copy Markdown
Contributor Author

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