ember-codemods / ember-native-class-codemod

A codemod-cli project for converting Ember objects to es6 native classes
68 stars 38 forks source link

Error count doesn’t match log. #523

Closed gitKrystan closed 1 year ago

gitKrystan commented 1 year ago

Error count doesn’t match log. The CLI had this output:

 All done. 
 Results: 
 0 errors
 58 unmodified
 0 skipped
 0 ok
 Time elapsed: 3.029seconds 

but the log file had multiple entries like this:

2023-03-14T11:25:08.799Z [error] [addon/controllers/foo.js]: 
FAILURE 
Validation errors for class 'FooController': 
    [actions]: Transform not supported - [destroy]: action name matches one of the lifecycle hooks. 
Rename and try again. See https://github.com/scalvert/ember-native-class-codemod/issues/34 for more details