Closed stevethedev closed 6 years ago
@stevethedev thx, I'll investigate. In the meantime, as a workaround, you could assign the result of the if statement to a variable so that there is one return.
It has been fixed in https://github.com/buxlabs/amd-to-es6/commit/6f3ab08c7e1d424d14fe157e1c87327d9bb0025e and released as 0.12.5. Thanks !
Target Code
Expected Result
Actual Result