Skip to content

Commit

Permalink
fix: typo of SYNCKIT_EXEC_ARGV environment variable (#97)
Browse files Browse the repository at this point in the history
Co-authored-by: JounQin <admin@1stg.me>
  • Loading branch information
noahnu and JounQin committed Aug 4, 2022
1 parent 20dae36 commit d1bed37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/slow-terms-notice.md
@@ -0,0 +1,5 @@
---
"synckit": patch
---

fix: typo of `SYNCKIT_EXEC_ARGV` environment variable
4 changes: 2 additions & 2 deletions src/index.ts
Expand Up @@ -40,7 +40,7 @@ export type TsRunner = ValueOf<typeof TsRunner>
const {
SYNCKIT_BUFFER_SIZE,
SYNCKIT_TIMEOUT,
SYNCKIT_EXEC_ARV,
SYNCKIT_EXEC_ARGV,
SYNCKIT_TS_RUNNER,
} = process.env

Expand All @@ -53,7 +53,7 @@ export const DEFAULT_TIMEOUT = SYNCKIT_TIMEOUT ? +SYNCKIT_TIMEOUT : undefined
export const DEFAULT_WORKER_BUFFER_SIZE = DEFAULT_BUFFER_SIZE || 1024

/* istanbul ignore next */
export const DEFAULT_EXEC_ARGV = SYNCKIT_EXEC_ARV?.split(',') || []
export const DEFAULT_EXEC_ARGV = SYNCKIT_EXEC_ARGV?.split(',') || []

export const DEFAULT_TS_RUNNER = (SYNCKIT_TS_RUNNER ||
TsRunner.TsNode) as TsRunner
Expand Down

0 comments on commit d1bed37

Please sign in to comment.