mirror of
https://github.com/github/codeql-action.git
synced 2026-11-09 06:29:52 +00:00
Replace Env with ReadOnlyEnv in the runTool chain
This commit is contained in:
@@ -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 } = {},
|
||||
|
||||
Reference in New Issue
Block a user