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

Added new error code and better error message for terminal CWD #76743

Merged
merged 4 commits into from
Jul 6, 2019
Merged

Added new error code and better error message for terminal CWD #76743

merged 4 commits into from
Jul 6, 2019

Conversation

lramos15
Copy link
Member

@lramos15 lramos15 commented Jul 5, 2019

When the terminal.integrated.cwd is a bad path currently we just fall back on the default failure of exiting with code 1 which doesn't provide much information to the user. This adds a specific exit code and message when we cannot resolve the CWD specified.

Fixes #17450

@lramos15 lramos15 requested a review from Tyriar July 5, 2019 17:57
@lramos15 lramos15 self-assigned this Jul 5, 2019
@Tyriar Tyriar added this to the July 2019 milestone Jul 5, 2019
@Tyriar Tyriar self-assigned this Jul 5, 2019
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, let's merge after the next Insiders build. Just in case 😅

@Tyriar Tyriar merged commit 8a50473 into microsoft:master Jul 6, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terminals launching using terminal.integrated.cwd do not check for invalid paths
2 participants