TRAP Caching: Unset missing cache rather than setting to undefined
This commit is contained in:
parent
c2c0a2908e
commit
1e5376ae5f
3 changed files with 3 additions and 3 deletions
2
lib/trap-caching.js
generated
2
lib/trap-caching.js
generated
|
|
@ -105,7 +105,7 @@ async function downloadTrapCaches(codeql, languages, logger) {
|
|||
// still just an empty directory. There's no reason to tell the extractor to use it,
|
||||
// so let's unset the entry in the map so we don't set any extractor options.
|
||||
logger.info(`No TRAP cache found in Actions cache for ${language}`);
|
||||
result[language] = undefined;
|
||||
delete result[language];
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue