Skip to content

Commit

Permalink
fix: retrieving the value of the outDir option
Browse files Browse the repository at this point in the history
  • Loading branch information
justkey007 committed Mar 29, 2023
1 parent 799e749 commit 7d4feed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ program
.option('-p, --project <file>', 'path to tsconfig.json')
.option('-w, --watch', 'Observe file changes')
.option(
'--outDir, --dir, --directory <dir>',
'--outDir, --dir <dir>',
'Run in a folder leaving the "outDir" of the tsconfig.json (relative path to tsconfig)'
)
.option(
Expand All @@ -36,7 +36,7 @@ const options = program.opts();
replaceTscAliasPaths({
configFile: options.project,
watch: !!options.watch,
outDir: options.directory,
outDir: options.dir,
verbose: !!options.verbose,
debug: !!options.debug,
resolveFullPaths: !!options.resolveFullPaths,
Expand Down

0 comments on commit 7d4feed

Please sign in to comment.