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

Simplify escapeTemplateCharacters #8733

Merged
merged 1 commit into from Jul 12, 2020

Conversation

fisker
Copy link
Sponsor Member

@fisker fisker commented Jul 10, 2020

Use .map instead of .forEach + .push

Try the playground for this PR

@fisker fisker merged commit 031375b into prettier:master Jul 12, 2020
@fisker fisker deleted the simplify-escapeTemplateCharacters branch July 12, 2020 11:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2021
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.

None yet

4 participants