Closed AdminDev826 closed 5 years ago
Hmm looks like one of the codemods has an issue. Can you narrow it down to which one?
Here is app/routes/payables/recurring-item-texts.js
file.
import Route from '@ember/routing/route';
import { hash } from 'rsvp';
export default Route.extend({
queryParams: {
parent: {
refreshModel: true,
},
parent_id: {
refreshModel: true,
},
},
model(params){
return hash({
recurringItemTexts: this.queryPaginated('payables.recurringItemText', params),
parent: this.store.findRecord(`payables.${params.parent.camelize()}`, params.parent_id)
});
},
});
You ran ember-modules-codemod, ember-qunit-codemod, ember-test-helpers-codemod, es5-getter-ember-codemod
codemods. One of those has a bug. You should try to narrow down which one it is.
@kellyselden - We could make that a bit easier by printing out which codemod we are running (possibly even the specific command) as we go.
@rwjblue Good idea. https://github.com/ember-cli/ember-cli-update/issues/555
ember-modules-codemod
Closing as it's an issue with an external codemod, but #555 will make it easier to know that.
ember-cli-update --run-codemods