Skip to content

use os-specific EOL while creating the copyrightHeader for hygiene checks - #3834

Closed
Kumar Harsh (kumarharsh) wants to merge 2 commits into
microsoft:masterfrom
kumarharsh:feature/eol-hygiene
Closed

Kumar Harsh (kumarharsh) wants to merge 2 commits into
microsoft:masterfrom
kumarharsh:feature/eol-hygiene

Conversation

@kumarharsh

Copy link
Copy Markdown
Contributor

Right now, the hygiene checks fail on windows machines because the copyrightHeader standard is being by joining an array of strings with a \n, which doesn't work on Windows with it's CRLF line-endings. This PR addresses that by using OS-specific line endings while building the copyrightHeader standard string.

@msftclas

Hi Kumar Harsh (@kumarharsh), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@kumarharsh

Copy link
Copy Markdown
Contributor Author

bad PR, closing

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.

3 participants