-
Notifications
You must be signed in to change notification settings - Fork 38
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
Duplicate declarations #51
Comments
Ah, I don't think we handled pod/MU style declarations of names, @ssutar we definitely should add this functionality (also PRs definitely welcome! 😄) |
I'd contribute if I even understood how this thing worked. Where is the code? Haha! |
Looks like the code is here: https://github.com/scalvert/ember-es6-class-codemod/blob/master/transforms/helpers/parse-helper.js#L477 Do we have pods code anywhere? Will the testing layout need changes like mimicking pods? |
I don’t believe any pods code exists yet, and we definitely will need new tests/fixtures that mimic the pods structure. I think the new tests should be pretty straightforward, basically an input directory and output directory, though I’m not sure if our tests handle directories yet |
In the pods/MU style, the information is one level up, the folder name that contains the file:
Should output: export default ActionController extends Controller {} I think folks may want this to be even less generic, like |
This should be fixed on master, let us know if you're still having issues! |
The text was updated successfully, but these errors were encountered: