astro-cli
astro-cli copied to clipboard
Return appropriate error code when there are uncommitted changes during `astro deploy`
As of now, when there are uncommitted changes in the local Astro project, and the user tries astro deploy
without -f
flag, then Astro CLI logs an error message about uncommitted changes but ends up exiting with return code 0, we should update that to return appropriate error code.
This also ties to our known tech debt issue for improving error handling in Astro CLI.
Slack Reference: https://astronomer.slack.com/archives/CL44PA4DB/p1726738192456099