Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo of SYNCKIT_EXEC_ARGV environment variable #97

Merged
merged 3 commits into from Aug 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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