Skip to content

Commit

Permalink
fix(js): normalize tsconfig paths used as correlation keys in batch i…
Browse files Browse the repository at this point in the history
…mplementation (#17888)

(cherry picked from commit 4d76d0c)
  • Loading branch information
leosvelperez authored and FrozenPandaz committed Jun 30, 2023
1 parent ef05a37 commit 4184ff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function processTasksAndPopulateTsConfigTaskInfoMap(
const tsConfigPath = join(
context.root,
relative(context.root, taskOptions.tsConfig)
);
).replace(/\\/g, '/');

tsConfigTaskInfoMap[tsConfigPath] = taskInfo;
taskTsConfigCache.add(taskName);
Expand Down
2 changes: 1 addition & 1 deletion packages/js/src/executors/tsc/lib/get-tsconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ function getInMemoryTsConfig(
},
references: allProjectReferences.map((pr) => ({ path: pr })),
}),
path: tsConfig,
path: tsConfig.replace(/\\/g, '/'),
};
}

Expand Down

0 comments on commit 4184ff5

Please sign in to comment.