mirror of
https://github.com/github/codeql-action.git
synced 2026-10-31 09:59:43 +00:00
Avoid passing an undefined qlconfig arg
This commit is contained in:
committed by
Andrew Eisenberg
parent
8340258886
commit
4366485427
@@ -619,7 +619,8 @@ export async function getCodeQLForCmd(
|
||||
}
|
||||
|
||||
if (
|
||||
await util.codeQlVersionAbove(this, CODEQL_VERSION_INIT_WITH_QLCONFIG)
|
||||
qlconfigFile !== undefined &&
|
||||
(await util.codeQlVersionAbove(this, CODEQL_VERSION_INIT_WITH_QLCONFIG))
|
||||
) {
|
||||
extraArgs.push(`--qlconfig=${qlconfigFile}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user