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

Fix missing type file using --listDifferent option #136

Merged
merged 4 commits into from
Jan 2, 2022

Conversation

capsuleman
Copy link
Contributor

When running tsm with option --listDifferent, and all type definition files are not yet generated, code raises an error that is not catch.
Even if type definition file does not exist, script exits with 0.

This PR fixes this issue by checkig previously if the file exists. If not, it raises an error.

@skovy
Copy link
Owner

skovy commented Jan 2, 2022

@all-contributors add @capsuleman for code, test, bug

@allcontributors
Copy link
Contributor

@skovy

I've put up a pull request to add @capsuleman! 🎉

@skovy
Copy link
Owner

skovy commented Jan 2, 2022

🎉 This PR is included in version 4.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@skovy skovy added the released label Jan 2, 2022
@capsuleman capsuleman deleted the fix-missing-type-file-list-different branch January 3, 2022 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants