astro-cli icon indicating copy to clipboard operation
astro-cli copied to clipboard

Return appropriate error code when there are uncommitted changes during `astro deploy`

Open neel-astro opened this issue 5 months ago • 1 comments

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

neel-astro avatar Sep 19 '24 10:09 neel-astro