This commit is contained in:
Michael B. Gale
2023-06-15 10:22:00 +01:00
parent 7a9f099940
commit eb9703ee74
2 changed files with 2 additions and 5 deletions

View File

@@ -17,10 +17,7 @@ export async function runResolveBuildEnvironment(
// If the CodeQL version in use does not support the `resolve build-environment`
// command, just return an empty configuration. Otherwise invoke the CLI.
if (
!(await util.codeQlVersionAbove(
codeql,
CODEQL_VERSION_RESOLVE_ENVIRONMENT
))
!(await util.codeQlVersionAbove(codeql, CODEQL_VERSION_RESOLVE_ENVIRONMENT))
) {
logger.warning(
"Unsupported CodeQL CLI version for `resolve build-environment` command, " +