Skip to content

Commit d1bed37

Browse files
noahnuJounQin
andauthoredAug 4, 2022
fix: typo of SYNCKIT_EXEC_ARGV environment variable (#97)
Co-authored-by: JounQin <admin@1stg.me>
1 parent 20dae36 commit d1bed37

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

‎.changeset/slow-terms-notice.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"synckit": patch
3+
---
4+
5+
fix: typo of `SYNCKIT_EXEC_ARGV` environment variable

‎src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export type TsRunner = ValueOf<typeof TsRunner>
4040
const {
4141
SYNCKIT_BUFFER_SIZE,
4242
SYNCKIT_TIMEOUT,
43-
SYNCKIT_EXEC_ARV,
43+
SYNCKIT_EXEC_ARGV,
4444
SYNCKIT_TS_RUNNER,
4545
} = process.env
4646

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

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

5858
export const DEFAULT_TS_RUNNER = (SYNCKIT_TS_RUNNER ||
5959
TsRunner.TsNode) as TsRunner

0 commit comments

Comments
 (0)
Please sign in to comment.