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

Generated files have inconsistent lined endings #57

Closed
damianh opened this issue Jun 4, 2023 · 4 comments · Fixed by #60
Closed

Generated files have inconsistent lined endings #57

damianh opened this issue Jun 4, 2023 · 4 comments · Fixed by #60
Assignees
Labels
enhancement New feature, bug fix, or request

Comments

@damianh
Copy link

damianh commented Jun 4, 2023

Describe the bug
The generated files seem to have a mixture different lines endings. This dialog appears everytime a file is opened in VS.

image

Perhaps consider normalizing the line endings to whatever the OS environment the tools is run in :)

Support Key: kedfgny

OpenAPI Specifications
N/A

Additional context
Add any other context about the problem here.

@christianhelle christianhelle self-assigned this Jun 5, 2023
@christianhelle christianhelle added the enhancement New feature, bug fix, or request label Jun 5, 2023
@christianhelle
Copy link
Owner

@damianh thanks for taking your time to report this. I think your suggestion is a great idea and I will add this to my to-do list

@christianhelle
Copy link
Owner

Apparently, there are already some convenience methods in the string class to do this called ReplaceLineEndings()

@christianhelle
Copy link
Owner

This issue in resolved in v0.5.28

@damianh
Copy link
Author

damianh commented Jun 13, 2023

Nice thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, bug fix, or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants