You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ember-cli does not control the generation (or insertion) of this file. The route blueprint in ember-source (here calls in to ember-router-generator to get the updated code to write (see here). I think maybe we need to add another option to recast.print for it to autodetect the right line endings to use? Not sure exactly what needs to be done to fix that but I think the issue should be moved over into ember-router-generator's repo.
Output from
ember version --verbose && npm --version && yarn --version
:I am able to recreate the bug from the following:
0.) open Git Bash
1.)
Ember new testbug
2.)
cd testbug/app
3.) check the newline character type (should all be set to UNIX)
find . -not \( -path './.git' -prune \) -type f -print0 | xargs -0 dos2unix -ih
4.)
ember g route test-route
5.)
find . -not \( -path './.git' -prune \) -type f -print0 | xargs -0 dos2unix -ih
The router.js file has mysteriously converted into CRLF format.
The text was updated successfully, but these errors were encountered: