Closed as not planned
Description
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Local OS: macOS
- Remote OS: Ubuntu
- Remote Architecture: amd64
code-server --version
: 4.11.0
Steps to Reproduce
- On the Terminal run
code-server --install-extension non.existing-extension && echo "Exit code: " "$?"
- Wait for the command to finish and check the output.
Expected
At the end of the output it should read:
Exit code: 1
Or any other non 0 appropriate exit code.
Actual
At the end of the output it reads:
Exit code: 1
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- I cannot reproduce this in VS Code.
- I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
- I am using HTTPS.
Notes
As part of a pipeline, I have a script that install some extensions using code-server --install-extension
, whenever one of the installed extensions fails I expect the whole script to fail, cascading to the pipeline fail so I can take action.
Instead, as it is returning 0 even when the task is failing, the build finishes with a false success.