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

useTsconfig option is ignored #90

Closed
yshrsmz opened this issue Mar 15, 2017 · 2 comments · Fixed by #91
Closed

useTsconfig option is ignored #90

yshrsmz opened this issue Mar 15, 2017 · 2 comments · Fixed by #91

Comments

@yshrsmz
Copy link
Contributor

yshrsmz commented Mar 15, 2017

as title says, when I execute command like tsfmt -r --useTsconfig=./tsconfig.main.json, tsfmt print out help messages and doesn't do anything.

And after some debugging, it seems like the condition in this line becomes true with the command I use.

if (files.length === 0 && !opts.stdin) {

@vvakame
Copy link
Owner

vvakame commented Mar 16, 2017

thank you for reporting!
I just published v5.1.2.

@yshrsmz
Copy link
Contributor Author

yshrsmz commented Mar 16, 2017

Thanks for the quick fix!
It's now working :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants