Skip to content

Commit 2e19ebd

Browse files
committed
fix(cli): correct setCurrentFileContext argument order in run workers
1 parent 20d1e5c commit 2e19ebd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/cli-v3/src/entryPoints/dev-run-worker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ const zodIpc = new ZodIpcConnection({
502502
async () => {
503503
const beforeImport = performance.now();
504504
resourceCatalog.setCurrentFileContext(
505-
taskManifest.entryPoint,
506-
taskManifest.filePath
505+
taskManifest.filePath,
506+
taskManifest.entryPoint
507507
);
508508

509509
// Load init file if it exists

packages/cli-v3/src/entryPoints/managed-run-worker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ const zodIpc = new ZodIpcConnection({
491491
async () => {
492492
const beforeImport = performance.now();
493493
resourceCatalog.setCurrentFileContext(
494-
taskManifest.entryPoint,
495-
taskManifest.filePath
494+
taskManifest.filePath,
495+
taskManifest.entryPoint
496496
);
497497

498498
// Load init file if it exists

0 commit comments

Comments
 (0)