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

imports with as get corrupted #91

Open
kellyselden opened this issue Apr 21, 2018 · 2 comments
Open

imports with as get corrupted #91

kellyselden opened this issue Apr 21, 2018 · 2 comments

Comments

@kellyselden
Copy link
Contributor

Turns

import {
  setupTest as _setupTest,
  setupRenderingTest as _setupRenderingTest
} from 'ember-qunit';

into

import {
  setupTest,
  setupRenderingTest
} from 'ember-qunit';

That's the only change in the file, the corresponding uses were not touched.

@rwjblue
Copy link
Member

rwjblue commented Apr 21, 2018

Awesome, thank you for reporting!

@rondale-sc and I noticed this while working on a different codemod (that was using this one as a starting point). I’m fairly certain of the fix...

@jagthedrummer
Copy link

I just ran into this problem.

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

No branches or pull requests

3 participants