Skip to content

Commit 918bf13

Browse files
committed
test: satisfy exec PATH mock lint
1 parent cf2bcf4 commit 918bf13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agents/bash-tools.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ vi.mock("../process/supervisor/index.js", () => {
146146
};
147147

148148
const commandOutput = (command: string, env?: NodeJS.ProcessEnv) => {
149-
const shellEnv = { ...(env ?? {}) };
149+
const shellEnv = { ...env };
150150
return splitCommands(command)
151151
.map((segment) => {
152152
applySegmentShellEffects(segment, shellEnv);

0 commit comments

Comments
 (0)