Skip to content

Commit baef6c9

Browse files
authored
Merge pull request #105 from line/fix/correct-default-value-for-config-file
fix: use correct default value for configFile option
2 parents ce5cea2 + c5628c0 commit baef6c9

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)