Closed scalvert closed 6 years ago
@scalvert it should actually do just that! If you take a look at the test fixtures for acceptance tests, this is the case. E.g. click.input.js and click.input.js.
Do you have an example where this is not working?
tldr; andThen(() => {})
was not being transformed. I submitted https://github.com/simonihmig/ember-native-dom-helpers-codemod/pull/26 to fix.
Released as 0.2.1! Thanks again!
Currently, when the codemod runs and adds
await
, it should ideally remove the use ofandThen
, as these things seem semantically incompatible.@rwjblue