Skip to content

Commit 01a77c1

Browse files
committed
test(server): read spawned args as strings after the Effect 4.1.2 upgrade
1 parent ff7ad2d commit 01a77c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/vcs/GitVcsDriverCore.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ it.effect.each(["on a branch", "detached", "unborn"] as const)(
574574
const delegate = yield* ChildProcessSpawner.ChildProcessSpawner;
575575
const spawnedArgs: Array<ReadonlyArray<string>> = [];
576576
const spawner = ChildProcessSpawner.make((command) => {
577-
if (ChildProcess.isStandardCommand(command)) spawnedArgs.push(command.args);
577+
if (ChildProcess.isStandardCommand(command)) spawnedArgs.push(command.args.map(String));
578578
return delegate.spawn(command);
579579
});
580580
const driver = yield* makeGitVcsDriverCore().pipe(

0 commit comments

Comments
 (0)