-
-
Notifications
You must be signed in to change notification settings - Fork 43
WIP try rajasegar/ember-cli-update-codemods-manifest/ember-angle-brackets-codemod #606
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
Conversation
227f603 to
b81af95
Compare
f78da75 to
664598b
Compare
664598b to
3edc156
Compare
|
rwjblue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kellyselden - I actually think this PR has the expected wrong, in that last diff you pasted just above it shows that the line endings are fine (AFAICT).
| @@ -1,5 +1,5 @@ | |||
| {{!-- The following component displays Ember's default welcome message. --}} | |||
| {{! The following component displays Ember's default welcome message. }} | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are the -- removed here? The original (assuming that test/fixtures/codemod/local/my-app/app/templates/application.hbs represents the input) uses {{!--, so I would expect the output to continue to use them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were remnants from when the codemod did a lot more formatting, and the expected was altered to match. This has been reverted now.
|
|
||
| {{outlet}} No newline at end of file | ||
| {{! Feel free to remove this! }} | ||
| {{outlet}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a newline both just before and just after {{outlet}} (based on the input template in test/fixtures/codemod/local/my-app/app/templates/application.hbs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These were remnants from when the codemod did a lot more formatting, and the expected was altered to match. This has been reverted now.
8ad3625 to
379ce73
Compare
379ce73 to
d014463
Compare
|
Line endings used to be a problem, but aren't anymore. Thanks to everyone involved! |
test ember-cli/ember-cli-update-codemods-manifest#16