Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
PDK 1.1.10
Windows 10
-
- Files which are expected to be LF in .gitattributes should have LF line endings on any OS
-
Customer Feedback
-
Bug Fix
-
Files generated by PDK will no longer have CRLF line endings. They should all have LF line endings now.
-
Needs Assessment
Description
I created a new module using pdk new module ...
and it generated all of the files using CRLF line endings. This caused git to complain because .rb files should be LF
}
|
----------------------------------------
|
About to generate this module; continue? Yes
|
pdk (INFO): Module 'windows_bitlocker' generated at path 'C:/Source/puppetlabs-windows_bitlocker/windows_bitlocker/windows_bitlocker'.
|
pdk (INFO): In your module directory, add classes with the 'pdk new class' command.
|
|
C:\Source\puppetlabs-windows_bitlocker\windows_bitlocker [master +15 ~0 -0 !]> git add --a
|
warning: CRLF will be replaced by LF in spec/spec_helper.rb.
|
The file will have its original line endings in your working directory.
|
C:\Source\puppetlabs-windows_bitlocker\windows_bitlocker [master +16 ~0 -0 ~]>
|
Attachments
Issue Links
- relates to
-
PDK-443 EOL config in generated .gitattributes file leads to Ruby validation fail
-
- Closed
-