Remove C++ TRAP caching feature flag in favour of CLI v2.17.5 check.

This commit is contained in:
Alexandre Boulgakov 2024-06-17 17:42:58 +01:00
parent 1428e58aad
commit c82e2452bb
6 changed files with 4 additions and 18 deletions

View file

@ -466,7 +466,7 @@ async function run() {
);
} else if (
getTrapCachingEnabled() &&
(await features.getValue(Feature.CppTrapCachingEnabled, codeql))
(await codeQlVersionAtLeast(codeql, "2.17.5"))
) {
logger.info("Enabling CodeQL C++ TRAP caching support");
core.exportVariable(envVar, "true");