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

Add failure handling for file integrity check #1878

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

nagilson
Copy link
Member

This is now what is hitting the EPERM and ENOENT errors. We need to skip the check and see what happens from here, such as allowing to elevate via windows.

This also adds specific handlers for when we fail to download the SDK.

This is now what is hitting the EPERM and ENOENT errors.
We need to skip the check and see what happens from here, such as allowing to elevate via windows.

This also adds specific handlers for when we fail to download the SDK.
@nagilson nagilson requested a review from a team July 15, 2024 23:30
Comment on lines 187 to 188
const yes = validationPromptConstants.allowOption
const no = validationPromptConstants.cancelOption;
Copy link
Member

Choose a reason for hiding this comment

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

nit: I know semicolons are not required, but maybe it should be in the .editorconfig/tslint.json to suggest them for consistency? Here, the yes line doesn't have one.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch! unfortunately I couldnt find an editorconfig setting, it looks like there might be an eslint one. First, we would need to change from tslint to eslint, so I think that should be done separately

@nagilson nagilson enabled auto-merge (squash) July 16, 2024 18:15
@nagilson nagilson disabled auto-merge July 16, 2024 18:53
@nagilson nagilson merged commit 1ff5843 into dotnet:main Jul 16, 2024
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants