-
Notifications
You must be signed in to change notification settings - Fork 195
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
gts check/fix
uses a list of files created by tslint
#98
Comments
I'm unable to reproduce this on your |
The issue stems from me including generated git-ignored source files, which are being checked. I didn't realize that I had already fixed them locally, and CI kept failing because it was regenerating these source files. This makes me think of two improvements we can make to avoid this problem (despite the questionable usage of generated source files in the linked PR, in general it's a use case we still want to support):
|
gts check/fix
sometimes erroneously exits with code 0gts check/fix
uses a list of files created by tslint
Fixes #98 Use getRootFileNames instead of getSourceFiles when retrieving a list of files to format; the latter gets every file in the dependency graph constructed from files included in tsconfig.json.
See below comment
On my mac,gts check
exits with code 0 before checking all files here. On linux this doesn't happen, and I get my clang-format error reports.I combedgts
dependencies forprocess.exit
calls but couldn't find any. I believe unresolved Promises are somehow being ignored, and the event loops drains fully. Unsure about this...The text was updated successfully, but these errors were encountered: