Skip to content

Commit

Permalink
fix: use correct default value for configFile option
Browse files Browse the repository at this point in the history
  • Loading branch information
kazushisan committed Dec 16, 2024
1 parent ce5cea2 commit c5628c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const main = () => {
return tsr({
entrypoints: parsed._.map((entrypoint) => new RegExp(entrypoint)),
mode: parsed.write ? 'write' : 'check',
configFile: parsed.project ?? undefined,
configFile: parsed.project || 'tsconfig.json',
recursive: parsed.recursive,
includeDts: parsed['include-d-ts'],
}).catch((error) => {
Expand Down

0 comments on commit c5628c0

Please sign in to comment.