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

(PDK-547) Ensure all PDK created files use LF line endings #590

Merged
merged 1 commit into from
Nov 13, 2018

Conversation

rodjek
Copy link
Contributor

@rodjek rodjek commented Nov 5, 2018

Consolidates all the places where PDK writes module files so that they all call a single utility method. Inside that method we open the specified file for binary writes, re-encode the content to write so that it uses universal newlines (\n) rather than \r or \r\n and then write it to disk.

@coveralls
Copy link

coveralls commented Nov 5, 2018

Coverage Status

Coverage increased (+0.03%) to 93.026% when pulling 8fb8bdc on rodjek:pdk-547 into 5158bfd on puppetlabs:master.

@rodjek rodjek force-pushed the pdk-547 branch 8 times, most recently from e1ade2e to 85f4570 Compare November 8, 2018 08:58
@bmjen bmjen merged commit aca4155 into puppetlabs:master Nov 13, 2018
@rodjek rodjek deleted the pdk-547 branch November 14, 2018 00:16
@bmjen bmjen added the bug label Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants