Files
openclaw/scripts/lib/ghsa-patch-subprocess.d.mts
828bcd8231 fix(scripts): bound GHSA patch GitHub lookups (#110756)
* fix(scripts): bound GHSA patch subprocesses

Co-authored-by: 唐梓夷0668001293 <tang.ziyi@xydigit.com>

* fix(scripts): satisfy GHSA runner control-flow lint

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-19 00:37:06 +01:00

23 lines
435 B
TypeScript

export const GHSA_COMMAND_TIMEOUT_MS: number;
export function runGhCommand(
args: string[],
params?: {
spawnSyncImpl?: (
command: string,
args: string[],
options: {
encoding: "utf8";
killSignal: "SIGKILL";
timeout: number;
},
) => {
error?: Error;
status: number | null;
stderr: string;
stdout: string;
};
timeoutMs?: number;
},
): string;