mirror of
https://github.com/github/codeql-action.git
synced 2026-05-07 22:30:44 +00:00
Output final hash for debuggin
This commit is contained in:
Generated
+2
-3
@@ -165,15 +165,14 @@ async function compileQueries(codeql, config, logger) {
|
||||
}
|
||||
// Compute hash
|
||||
const globHash = require("glob-hash");
|
||||
logger.info("Temp dir ${config.tempDir}");
|
||||
const finalHash = await globHash({
|
||||
include: [
|
||||
`${config.tempDir}/**/.cache/data/**`,
|
||||
`${config.toolCacheDir}/**/.cache/data/**`,
|
||||
],
|
||||
files: true,
|
||||
files: false,
|
||||
});
|
||||
logger.info(finalHash);
|
||||
logger.info(`FinalHash: ${finalHash}`);
|
||||
return finalHash;
|
||||
}
|
||||
void runWrapper();
|
||||
|
||||
File diff suppressed because one or more lines are too long
+2
-3
@@ -288,15 +288,14 @@ async function compileQueries(
|
||||
}
|
||||
// Compute hash
|
||||
const globHash = require("glob-hash");
|
||||
logger.info("Temp dir ${config.tempDir}");
|
||||
const finalHash = await globHash({
|
||||
include: [
|
||||
`${config.tempDir}/**/.cache/data/**`,
|
||||
`${config.toolCacheDir}/**/.cache/data/**`,
|
||||
],
|
||||
files: true,
|
||||
files: false, // MG: List matched files for debugging
|
||||
});
|
||||
logger.info(finalHash);
|
||||
logger.info(`FinalHash: ${finalHash}`);
|
||||
return finalHash;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user