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

Ensure CLI builds have a non-zero exit code on failure #10703

Merged
merged 2 commits into from
Feb 28, 2023

Conversation

RobinMalfait
Copy link
Member

This PR fixes an issue where an error in the CLI didn't have a non-zero exit code. It was always 0.

Let's fix that by ensuring there is an exit code of 1 when an error occurs.

This is only for a simple build, not when in watch mode, because we try to recover from errors as best as we can to keep the process going.

Fixes: #10702

@thecrypticace
Copy link
Contributor

😬

LGTM

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.

Tailwindcss CLI Standalone should exit with non-zero code on error
2 participants