Bypass toolcache when feature flag enabled

This commit is contained in:
Henry Mercer 2022-08-16 13:58:59 +01:00
parent df0c0dafc0
commit 5862bae77e
15 changed files with 65 additions and 27 deletions

2
lib/runner.js generated
View file

@ -152,7 +152,7 @@ program
codeql = await (0, codeql_1.getCodeQL)(cmd.codeqlPath);
}
else {
codeql = (await (0, init_1.initCodeQL)(undefined, apiDetails, tempDir, gitHubVersion.type, logger)).codeql;
codeql = (await (0, init_1.initCodeQL)(undefined, apiDetails, tempDir, gitHubVersion.type, (0, feature_flags_1.createFeatureFlags)([]), logger)).codeql;
}
await (0, util_1.enrichEnvironment)(util_1.Mode.runner, codeql);
const workspacePath = checkoutPath;