Skip to content

Commit

Permalink
Merge pull request #105 from line/fix/correct-default-value-for-confi…
Browse files Browse the repository at this point in the history
…g-file

fix: use correct default value for configFile option
  • Loading branch information
kazushisan authored Dec 16, 2024
2 parents ce5cea2 + c5628c0 commit baef6c9
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 baef6c9

Please sign in to comment.