-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Extra lines inserted #1432
Labels
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
status:has pr
Issues with an accompanying pull request. These issues will probably be fixed soon!
type:bug
Issues identifying ugly output, or a defect in the program
Comments
Seem to remember that this is an old issue. Could you try updating your version of prettier? |
I'm on version 1.2.2 of prettier , 6.9.2 of node. Windows 10 |
Thanks, I can now reproduce! Working on a fix. |
vjeux
added a commit
to vjeux/prettier
that referenced
this issue
Apr 27, 2017
vjeux
added
Assigned
type:bug
Issues identifying ugly output, or a defect in the program
status:has pr
Issues with an accompanying pull request. These issues will probably be fixed soon!
and removed
Assigned
labels
Apr 27, 2017
Was an easy fix :) #1439 |
Awesome :) |
vjeux
added a commit
that referenced
this issue
May 1, 2017
lock
bot
added
the
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
label
Jul 7, 2018
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.
status:has pr
Issues with an accompanying pull request. These issues will probably be fixed soon!
type:bug
Issues identifying ugly output, or a defect in the program
If you have a file with a multiline template string, using windows line endings (CRLF) and the flow parser , extra empty lines are inserted in the output.
Example:
Input file with CRLF line endings
run
prettier test.js --write --parser flow
Output
The text was updated successfully, but these errors were encountered: