Pass working-directory input to trace-command invocation

This commit is contained in:
Henry Mercer 2024-06-11 16:07:54 +01:00
parent 599f279aa8
commit 6d627423af
3 changed files with 5 additions and 1 deletions

2
lib/codeql.js generated
View file

@ -340,6 +340,8 @@ async function getCodeQLForCmd(cmd, checkVersion) {
"database",
"trace-command",
"--use-build-mode",
"--working-dir",
process.cwd(),
...(await getTrapCachingExtractorConfigArgsForLang(config, language)),
...getExtractionVerbosityArguments(config.debugMode),
...getExtraOptionsFromEnv(["database", "trace-command"]),

File diff suppressed because one or more lines are too long

View file

@ -681,6 +681,8 @@ export async function getCodeQLForCmd(
"database",
"trace-command",
"--use-build-mode",
"--working-dir",
process.cwd(),
...(await getTrapCachingExtractorConfigArgsForLang(config, language)),
...getExtractionVerbosityArguments(config.debugMode),
...getExtraOptionsFromEnv(["database", "trace-command"]),