-
-
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
Range formatting a white-space throws. #2247
Labels
locked-due-to-inactivity
Please open a new issue and fill out the template instead of commenting.
Comments
josephfrazier
added a commit
to josephfrazier/prettier
that referenced
this issue
Jun 24, 2017
josephfrazier
added a commit
to josephfrazier/prettier
that referenced
this issue
Jun 24, 2017
vjeux
pushed a commit
that referenced
this issue
Jun 24, 2017
* Add failing test for range-formatting whitespace See #2247 (comment) * Return original input when specified range is unformattable Fixes #2247
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.
echo " " | prettier --range-start 1 --range-end 2
TypeError: Cannot read property 'node' of undefined
Expected:
Not an error at least, same output or striped selected white-spaces
The text was updated successfully, but these errors were encountered: