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

Inline import('x') to avoid having trailing , #2288

merged 1 commit into from Jun 27, 2017


None yet
1 participant
Copy link

vjeux commented Jun 27, 2017

Fixes #2287

if (node.type === "CallExpression") {
if (
node.type === "CallExpression" &&
node.callee.type === "MemberExpression"

This comment has been minimized.

Copy link

vjeux Jun 27, 2017

Author Collaborator

We don't want leaf call expressions to go through this branch

@vjeux vjeux merged commit 073a207 into prettier:master Jun 27, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.