Skip to content

Commit

Permalink
(fix) O3-2865: Run forked processes in cwd (#928)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher authored Feb 14, 2024
1 parent 4e34a22 commit b50ad49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tooling/openmrs/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Commands = typeof commands;
type CommandNames = keyof Commands;

function runCommand<T extends CommandNames>(type: T, args: Parameters<Commands[T]>[0]) {
const ps = fork(runner, [], { cwd: root });
const ps = fork(runner, [], { cwd: process.cwd() });

ps.send({
type,
Expand Down

0 comments on commit b50ad49

Please sign in to comment.