create-vite
CLI returns with an incorrect exit code on the course of failure
#11539
jamesgeorge007
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the
create-vite
CLI returns with an exit code of0
during the below scenarios.No
to the prompt asking for confirmation to remove existing files if the target directory is non-empty.Ctrl + C
in the middle of the prompts.Ideally, an event of error/failure should exit with a non-zero exit code. For instance, the
create-vue
CLI handles it this way.Thought to open a discussion instead of a bug report since a few things (reproducible example) were irrelevant to the CLI.
Beta Was this translation helpful? Give feedback.
All reactions