Navigation Menu

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

(fix) don't organize imports in error state #1500

Merged
merged 1 commit into from May 28, 2022

Conversation

dummdidumm
Copy link
Member

If there's a parser error, we fall back to only the script contents, so organize imports likely throws out a lot of seemingly unused imports because they are only used in the template. Therefore do nothing in this case.
#1476

If there's a parser error, we fall back to only the script contents, so organize imports likely throws out a lot of seemingly unused imports because they are only used in the template. Therefore do nothing in this case.
sveltejs#1476
@dummdidumm dummdidumm merged commit 34a5fad into sveltejs:master May 28, 2022
@dummdidumm dummdidumm deleted the organize-imports-fix branch May 28, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant