mirror of
https://github.com/github/codeql-action.git
synced 2026-05-07 14:20:19 +00:00
Compute hash of compiled queries
This commit is contained in:
+7
-2
@@ -287,8 +287,13 @@ async function compileQueries(
|
||||
}
|
||||
}
|
||||
// Compute hash
|
||||
const hash = "abc";
|
||||
return hash;
|
||||
const globHash = require("glob-hash");
|
||||
const finalHash = await globHash({
|
||||
include: [`${config.tempDir}/**/.cache/data`],
|
||||
files: true,
|
||||
});
|
||||
logger.info(finalHash);
|
||||
return finalHash;
|
||||
}
|
||||
|
||||
void runWrapper();
|
||||
|
||||
Reference in New Issue
Block a user