Skip to content

Commit dfe0c87

Browse files
committed
style(e2e): drop unused spawnSync import and prefer Record
Static analysis rejected an unused spawnSync import in the reap fixture and an index signature on spawnSignalFixture extraEnv.
1 parent 2d52b00 commit dfe0c87

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎e2e/signal-helpers.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ export interface SpawnSignalFixtureOptions {
6565
*/
6666
readonly extraEnv?:
6767
| Record<string, string>
68-
| ((dirs: { readonly cwd: string; readonly home: string }) => {
69-
readonly [key: string]: string;
70-
});
68+
| ((dirs: { readonly cwd: string; readonly home: string }) => Record<
69+
string,
70+
string
71+
>);
7172
}
7273

7374
/**

‎fixtures/exec-shutdown-reap/simulate-reap.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// sleep through the real shell-guard plugin, registers exec dispose as the
33
// process dispose host, then takes the requested exit path so the parent can
44
// assert the child was reaped.
5-
import { spawnSync } from "node:child_process";
65
import { writeFileSync } from "node:fs";
76
import type { ToolCall, ToolResult } from "@intx/types/runtime";
87

0 commit comments

Comments
 (0)