mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 17:31:39 +00:00
* 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>
23 lines
435 B
TypeScript
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;
|