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

(#2076) Pack always truncate stream #2276

Merged
merged 1 commit into from
Sep 22, 2021

Conversation

TheCakeIsNaOH
Copy link
Member

@TheCakeIsNaOH TheCakeIsNaOH commented May 22, 2021

Mono does not truncate streams in System.IO.Packaging.Package.Open
when using FileMode.Create, while .Net does. mono/mono#21055

This always truncates the stream at the start.

Fixes #2076

Mono does not truncate streams in System.IO.Packaging.Package.Open
when using FileMode.Create, while .Net does. mono/mono#21055

This always truncates the stream at the start.
@gep13 gep13 changed the base branch from stable to develop September 22, 2021 12:02
Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

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

LGTM!

@gep13 gep13 merged commit 30a4ae0 into chocolatey:develop Sep 22, 2021
@gep13
Copy link
Member

gep13 commented Sep 22, 2021

@TheCakeIsNaOH thanks for getting this fixed up!

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.

choco pack command fails on non-Windows when the nupkg already exists
2 participants