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

Ignore corrupted source data #4291

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Conversation

JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Mar 20, 2024

Change

Rather than a failure here, we will treat corrupt source data as simply empty. The only recourse the user currently has is to delete it anyway, and COM callers have no means to mitigate it.
 

Validation

Regression tests.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner March 20, 2024 17:31
@JohnMcPMS JohnMcPMS merged commit cf13dc2 into microsoft:master Mar 20, 2024
8 checks passed
@JohnMcPMS JohnMcPMS deleted the sources-fix branch March 20, 2024 22:37
ryfu-msft pushed a commit to ryfu-msft/winget-cli that referenced this pull request Mar 25, 2024
Rather than a failure here, we will treat corrupt source data as simply
empty. The only recourse the user currently has is to delete it anyway,
and COM callers have no means to mitigate it.
ryfu-msft pushed a commit to ryfu-msft/winget-cli that referenced this pull request Mar 25, 2024
Rather than a failure here, we will treat corrupt source data as simply
empty. The only recourse the user currently has is to delete it anyway,
and COM callers have no means to mitigate it.
ryfu-msft added a commit that referenced this pull request Mar 25, 2024
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