Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Transformer step fails when TS major/minor version is 0 #286

Open
chcatf opened this issue Sep 26, 2024 · 0 comments
Open

[Bug] Transformer step fails when TS major/minor version is 0 #286

chcatf opened this issue Sep 26, 2024 · 0 comments
Labels
Bug Something isn't working Good First Issue Good for newcomers

Comments

@chcatf
Copy link

chcatf commented Sep 26, 2024

Hello,

There is an issue with src/transformer.ts, when the TypeScript version is parsed if the major or minor version is 0 it will throw an error due to 0 being falsy since it's mapped to a number, see here

While this may not be an issue if support for 5.0.x is dropped, it presumably would be once 6.0 is used.

@danielpza danielpza added Bug Something isn't working Good First Issue Good for newcomers labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Good First Issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants