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
removes windows newlines on windows machines #160
Comments
this sounds like it might be an issue in ember-template-recast 🤔 in any case we should adjust CI to also run on Windows to catch these sorts of issues |
Agree, though I didn't think it mucked with the line endings. |
There are no locations in ember-template-recast that I can find where a newline is being added. I created ember-template-lint/ember-template-recast#141 to demonstrate that line endings are preserved. |
I'm adding windows CI there too (in a separate PR) |
Landed in ember-template-lint/ember-template-recast#143. There were a few specific changes that I needed to make, but none of them related to formatting of the actual output (they were related to how we selected files with globby, see ember-template-lint/ember-template-recast#147 for details on that one). |
@kellyselden - We'll need more help to make progress here.... |
FWIW, I confirmed that:
I honestly do not know what is going on that is causing the issue above 😩 Has anyone been able to reproduce this outside of a CI environment? Any pointers on how we can dig in more? |
Based on the diff pasted in ember-cli/ember-cli-update#606 (comment) I think this line ending issue is resolved (and has been for quite some time, but we didn't do a release until a week or two ago). I suspect that it was reporting an issue with the prior major version of this codemod which still used prettier, and that prettier was the cause of the line ending differences. Going to close now, definitely happy to reopen if I'm mistaken... |
Discovered here https://ci.appveyor.com/project/embercli/ember-cli-update/builds/28014446#L4814
The text was updated successfully, but these errors were encountered: