Closed JounQin closed 3 years ago
v2.14.4 should fix this.
v2.14.5 should fix this.
@plantain-00 I get this error again recently, I tried to log at getTsConfigFilePath
with:
console.log(project, fallbackProject)
$ type-coverage
. undefined
/Users/JounQin/Workspaces/Alauda/vision/node_modules/@1stg/tsconfig/app [
'/Users/JounQin/Workspaces/Alauda/vision/node_modules/@1stg/tsconfig/app',
'/Users/JounQin/node_modules/@1stg/tsconfig/app'
]
paramter 'project' should be a file or directory.
What means .json
is not tried at all again.
Can this code change fixes your case? https://github.com/plantain-00/type-coverage/pull/103
The logic seems true to me.
2.18.3-alpha.0
2.18.3-alpha.0
Confirmed working
Version(if relevant): 2.4.0
Environment(if relevant):
Code(if relevant):
Expected:
Don't crash
Actual: