Skip to content
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

Fix errors when components contain multi-byte characters #253

Merged
merged 1 commit into from
Mar 15, 2024

Conversation

patricklx
Copy link
Contributor

@patricklx patricklx commented Mar 15, 2024

this is similar to the fix we did for ember-eslint-parser

fixes #191
closes #220

@patricklx patricklx force-pushed the fix-byte-issues branch 2 times, most recently from 51da295 to 7e88f2a Compare March 15, 2024 15:32
@@ -472,10 +472,76 @@ exports[`config > semi: false > it formats ../cases/gts/issue-191-b.gts 1`] = `

exports[`config > semi: false > it formats ../cases/gts/issue-191-c.gts 1`] = `
"const one = <template>💩💩💩💩💩💩💩</template>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the original code also has a line between the const two = .... I think the behaviour from prettier is to keep the line if one is there

@gitKrystan
Copy link
Collaborator

Thank you! What a relief.

@gitKrystan gitKrystan merged commit dd0af13 into ember-tooling:main Mar 15, 2024
2 checks passed
@gitKrystan gitKrystan changed the title fix byte issues Fix errors when components contain multi-byte characters Mar 15, 2024
@gitKrystan gitKrystan added the bug Something isn't working label Mar 15, 2024
@patricklx patricklx deleted the fix-byte-issues branch March 15, 2024 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] 2.0.0 Errors when components contain multi-byte characters (e.g. emoji) 💩 (not always, though)
2 participants