Skip to content

Unmodified when running codemod #530

@Filoteemo

Description

@Filoteemo

Working on a app running Ember v 3.15. When trying to mod any files to native class I get 200 in response but it won't modify any of the files specified.
This is the cli output:
image

And the codemods logfile says "Could not find runtime data NO_RUNTIME_DATA".

Example of file that is being specified in the path of the command:

`import { computed } from '@ember/object'
import Component from 'eea/component'

export default Component.extend({
classNames: ['go-card'],
classNameBindings: ['hasImage', 'hasAction'],
tagName: 'button',
title: '',
subtitle: '',
icon: 'arrow-right',
hasImage: computed('image', function () {
return this.get('image') ? 'has-image' : ''
}),
hasAction: computed('action', function () {
return this.get('action') ? 'has-action' : ''
}),
click: function () {
if (this.hasAction) this.cardAction()
},
})`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions