ember-codemods / ember-modules-codemod

Codemod to upgrade Ember apps to JavaScript (ES6) modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong migration of import having 'from' in name

panthony opened this issue · comments

The following import in tests:

import { durationFromNow } from '../../../helpers/duration-from-now';

was translated to

import {
  durationFromNow } from '../../../helpers/duratio
} from-now';

Not a big deal though as the error can't be missed :)

Thanks for this awesome addon though it saved me a lot of time.

Yikes! Thanks for reporting this one!