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

Please, use File.Open(fileName, FileMode.Truncate, FileAccess.Write) #1724

Closed
vik-borisov opened this issue Oct 26, 2017 · 1 comment
Closed
Labels

Comments

@vik-borisov
Copy link
Contributor

vik-borisov commented Oct 26, 2017

https://github.com/fsharp/FAKE/blob/838f43e1e6ac18014b2515799fe7fa0e23186fbc/src/app/Fake.Core.Xml/Xml.fs#L148

Please, use
File.Open(fileName, FileMode.Truncate, FileAccess.Write)

@matthid
Copy link
Member

matthid commented Oct 26, 2017

Makes a lot of sense, can you come up with a PR?

@matthid matthid added the bug label Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants