Skip to content

moveToNewFile: Don't remove empty named imports #26265

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

Merged
1 commit merged into from
Aug 7, 2018

Conversation

ghost
Copy link

@ghost ghost commented Aug 7, 2018

Fixes a bug I noticed where import {} from "./foo"; statements were removed.
Also fixes a bug where fourslash tests requested refactors in this.activeFile even if range was from a different file.

@ghost ghost requested review from amcasey and sheetalkamat August 7, 2018 17:23
@ghost ghost merged commit 1a05f13 into master Aug 7, 2018
@ghost ghost deleted the moveToNewFile_emptyNamedImports branch August 7, 2018 19:54
This pull request was closed.
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.

1 participant