Delete uncached codeql.resolveLanguages() function call

This CLI command was cached, at one point, but that's been saved for another PR, so this change will too.
This commit is contained in:
Mario Campos
2026-07-13 22:37:29 -05:00
parent 8f1212fe5c
commit ec96b5271e
2 changed files with 5 additions and 5 deletions

View File

@@ -327,10 +327,9 @@ async function run(actionState: ActionState<["Logger", "Env", "Actions"]>) {
toolsSource = initCodeQLResult.toolsSource;
zstdAvailability = initCodeQLResult.zstdAvailability;
// Populate the in-memory command cache with CLI version and languages.
// These results will be persisted to disk at the end of the init action.
// Populate the in-memory command cache with CLI version.
// This result will be persisted to disk at the end of the init action.
await codeql.getVersion();
await codeql.resolveLanguages();
// Check the workflow for problems. If there are any problems, they are reported
// to the workflow log. No exceptions are thrown.