Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

fix crlf modif on windows #449

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Conversation

dmitryuck
Copy link
Contributor

fix for vlang/v#20069

related to vlang/v#20101

Comment on lines +26 to 28
mut temp_file := os.open_file(server.temp_formatting_file_path, 'wb')!
temp_file.write_string(source.string())!
temp_file.close()
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
mut temp_file := os.open_file(server.temp_formatting_file_path, 'wb')!
temp_file.write_string(source.string())!
temp_file.close()
os.write_file(server.temp_formatting_file_path, source.string())!

@spytheman spytheman merged commit c8fe689 into vlang:master Dec 8, 2023
0 of 3 checks passed
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.

2 participants