Replace Env with ReadOnlyEnv in the runTool chain

This commit is contained in:
Michael B. Gale
2026-10-28 12:19:56 +00:00
parent 354d3a23c0
commit 0d774618aa
2 changed files with 3 additions and 3 deletions

View File

@@ -1166,7 +1166,7 @@ export function getExtraOptions(
}
async function runCli(
env: Env,
env: ReadOnlyEnv,
cmd: string,
args: string[] = [],
opts: { stdin?: string; noStreamStdout?: boolean } = {},
@@ -1193,7 +1193,7 @@ async function runCli(
* @returns The parsed JSON output from the command.
*/
async function runCliJson<T>(
env: Env,
env: ReadOnlyEnv,
cmd: string,
args: string[] = [],
opts: { stdin?: string; noStreamStdout?: boolean } = {},