cmstead / js-codeformer

A JS refactoring and code automation tool for building better source
MIT License
28 stars 2 forks source link

Shorthand arrow functions do not return properly when converted to a method #25

Closed cmstead closed 3 years ago

cmstead commented 3 years ago

In "convert selection functions to class", a shorthand arrow function is not correctly converted to a method with a return statement. The return is missing.

cmstead commented 3 years ago

Fixed in latest release:

https://github.com/cmstead/js-codeformer/releases/tag/v1.28.2