mirror of
https://github.com/github/codeql-action.git
synced 2026-01-01 20:20:07 +08:00
Fix failing test and address PR comments
This commit is contained in:
@@ -776,8 +776,7 @@ export async function useCodeScanningConfigInCli(
|
||||
codeql: CodeQL
|
||||
): Promise<boolean> {
|
||||
return (
|
||||
(process.env[EnvVar.CODEQL_PASS_CONFIG_TO_CLI] === "true" &&
|
||||
(await codeQlVersionAbove(codeql, CODEQL_VERSION_CONFIG_FILES))) ||
|
||||
false
|
||||
process.env[EnvVar.CODEQL_PASS_CONFIG_TO_CLI] === "true" &&
|
||||
(await codeQlVersionAbove(codeql, CODEQL_VERSION_CONFIG_FILES))
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user