Restore earlier log messages for checkHashPatterns

This commit is contained in:
Michael B. Gale
2025-11-09 11:11:10 +00:00
parent b0e9dfce55
commit a47d5507cf
4 changed files with 13 additions and 5 deletions

5
lib/analyze-action.js generated
View File

@@ -91123,11 +91123,11 @@ var defaultCacheConfigs = {
async function makeGlobber(patterns) {
return glob.create(patterns.join("\n"));
}
async function checkHashPatterns(codeql, features, language, cacheConfig, logger) {
async function checkHashPatterns(codeql, features, language, cacheConfig, checkType, logger) {
const patterns = await cacheConfig.getHashPatterns(codeql, features);
if (patterns === void 0) {
logger.info(
`Skipping download of dependency cache for ${language} as we cannot calculate a hash for the cache key.`
`Skipping ${checkType} of dependency cache for ${language} as we cannot calculate a hash for the cache key.`
);
}
return patterns;
@@ -91147,6 +91147,7 @@ async function uploadDependencyCaches(codeql, features, config, logger) {
features,
language,
cacheConfig,
"upload",
logger
);
if (patterns === void 0) {

5
lib/init-action.js generated
View File

@@ -87310,11 +87310,11 @@ var defaultCacheConfigs = {
async function makeGlobber(patterns) {
return glob.create(patterns.join("\n"));
}
async function checkHashPatterns(codeql, features, language, cacheConfig, logger) {
async function checkHashPatterns(codeql, features, language, cacheConfig, checkType, logger) {
const patterns = await cacheConfig.getHashPatterns(codeql, features);
if (patterns === void 0) {
logger.info(
`Skipping download of dependency cache for ${language} as we cannot calculate a hash for the cache key.`
`Skipping ${checkType} of dependency cache for ${language} as we cannot calculate a hash for the cache key.`
);
}
return patterns;
@@ -87334,6 +87334,7 @@ async function downloadDependencyCaches(codeql, features, languages, logger) {
features,
language,
cacheConfig,
"download",
logger
);
if (patterns === void 0) {