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

Fixing n.comments check in printer #1239

Merged
merged 1 commit into from
Apr 14, 2017
Merged

Fixing n.comments check in printer #1239

merged 1 commit into from
Apr 14, 2017

Conversation

axelg12
Copy link
Contributor

@axelg12 axelg12 commented Apr 13, 2017

This is in line with similar checks in printer.js

Fixes #1237

@vjeux
Copy link
Contributor

vjeux commented Apr 13, 2017

Thanks!

Could you also add a test with a piece of code that triggers this error? This way we make sure we don't regress in the future.

@vjeux vjeux merged commit 088754f into prettier:master Apr 14, 2017
@vjeux
Copy link
Contributor

vjeux commented Apr 14, 2017

I'm going to do a release so i'll merge this, but I'd love to know what code printed it so that I can add a regression test for it. Thanks!

@axelg12
Copy link
Contributor Author

axelg12 commented Apr 14, 2017

No problem, I'll add the code that triggered it tonight, and might insert the test myself.

@vjeux
Copy link
Contributor

vjeux commented Apr 14, 2017

Thanks!

@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Jan 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants