ember-codemods / ember-qunit-codemod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle getOwner(this) properly

rwjblue opened this issue · comments

Currently, the following is not processed properly:

getOwner(this).factoryFor('component:power-select/power-select-group')

We should transform it to:

this.owner.factoryFor('component:power-select/power-select-group')