ember-codemods/es5-getter-ember-codemod

`this.get('foo-bar')` transformed to `this.foo-bar`

Turbo87 opened this issue · 0 comments

In our codebase we had one instance of this.get('foo-bar') transformed to this.foo-bar, which is not a valid property name. We should check if the getter key is valid before transforming it or potentially transforming it into this['foo-bar'] instead 🤔