mirror of
https://github.com/github/codeql-action.git
synced 2026-05-21 09:00:06 +00:00
Nit: Dedupe languages
This commit is contained in:
Generated
+4
-3
@@ -87526,9 +87526,10 @@ async function getCodeQlVersionsForOverlayBaseDatabases(rawLanguages, logger) {
|
||||
);
|
||||
return void 0;
|
||||
}
|
||||
const cacheKeyPrefix = await getCacheKeyPrefixBase(
|
||||
languages.filter((l) => l !== void 0)
|
||||
);
|
||||
const dedupedLanguages = [
|
||||
...new Set(languages.filter((l) => l !== void 0))
|
||||
];
|
||||
const cacheKeyPrefix = await getCacheKeyPrefixBase(dedupedLanguages);
|
||||
logger.debug(
|
||||
`Searching for overlay-base databases in Actions cache with prefix ${cacheKeyPrefix}`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user