Skip to content

Commit c5628c0

Browse files
committed
fix: use correct default value for configFile option
1 parent ce5cea2 commit c5628c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const main = () => {
102102
return tsr({
103103
entrypoints: parsed._.map((entrypoint) => new RegExp(entrypoint)),
104104
mode: parsed.write ? 'write' : 'check',
105-
configFile: parsed.project ?? undefined,
105+
configFile: parsed.project || 'tsconfig.json',
106106
recursive: parsed.recursive,
107107
includeDts: parsed['include-d-ts'],
108108
}).catch((error) => {

0 commit comments

Comments
 (0)