-
Notifications
You must be signed in to change notification settings - Fork 38
Won't transform class with actions
hash
#536
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
Comments
After some more playing around with it I'm getting inconsistent results with this. Some times it works fine, sometimes it does not. |
I've just come across the same issue. It seems this is because of the
Adding @gitKrystan should |
Did a bit more digging and it seems the codemod supports actions using Worksactions: {
foo() {}
} Doesn't workactions: {
foo: function() {}
} I'll see about putting together a PR Edit: |
IIRC adding something to Are you seeing anything about this file in codemods.log? |
I have a file with an actions hash that is kicking out this error:
I'm assuming that the issue is something that fixing the "Could not find runtime data" error would resolve, although it works fine if I remove the actions hash and run it without it.
I'm invoking it with:
npx ember-native-class-codemod http://localhost:4202/partner/ app/controllers/authenticated/customers/index.js
And I can verify the app is loaded at
http://localhost:4202/partner/
Any assistance would be greatly appreciated.
The text was updated successfully, but these errors were encountered: