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

fix(cli): make biome --version exit with the correct exit code #373

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

nhedger
Copy link
Member

@nhedger nhedger commented Sep 21, 2023

Summary

This PR fixes #312.

Test Plan

See this comment for details.

  • Running biome --version must exit with 0

    biome --version
    echo $?

Attention

When releasing the next version of CLI, we must update the homebrew formula that currently checks for exit code 1, so that it check for exit code 0.

@github-actions github-actions bot added A-CLI Area: CLI A-Changelog Area: changelog labels Sep 21, 2023
@nhedger nhedger requested a review from a team September 21, 2023 15:24
@github-actions github-actions bot added the A-Website Area: website label Sep 21, 2023
@nhedger nhedger temporarily deployed to Website deployment September 21, 2023 15:35 — with GitHub Actions Inactive
@Conaclos Conaclos requested review from Conaclos and removed request for a team September 21, 2023 15:51
@Conaclos Conaclos merged commit 3370886 into main Sep 21, 2023
17 checks passed
@Conaclos Conaclos deleted the fix/version-exit-1 branch September 21, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-CLI Area: CLI A-Website Area: website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Running biome --version exits with failure
2 participants