mirror of
https://github.com/github/codeql-action.git
synced 2026-05-07 22:30:44 +00:00
Add glob-hash dependency
This commit is contained in:
Generated
+7
-2
@@ -164,8 +164,13 @@ async function compileQueries(codeql, config, logger) {
|
||||
}
|
||||
}
|
||||
// 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();
|
||||
//# sourceMappingURL=init-action.js.map
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user