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

Change newline when setting context.os to "windows" #2330

Merged
merged 5 commits into from
Mar 29, 2024

Conversation

peace-maker
Copy link
Member

Windows uses b'\r\n' for newlines while unix uses b'\n'. Change the expected newline to b'\r\n' when setting context.os = "windows" automatically for convenience.

peace-maker and others added 5 commits January 4, 2024 00:45
Windows uses `b'\r\n'` for newlines while unix uses `b'\n'`. Change the expected newline to `b'\r\n'` when setting `context.os = "windows"` automatically for convenience.
@peace-maker peace-maker changed the title Change newline when setting context.os Change newline when setting context.os to "windows" Mar 29, 2024
@peace-maker
Copy link
Member Author

This only matters for windows targets which aren't a common target anyway. So lets add it.

@peace-maker peace-maker merged commit 5981c72 into Gallopsled:dev Mar 29, 2024
12 checks passed
@peace-maker peace-maker deleted the newline_for_windows branch March 29, 2024 16:52
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.

1 participant