Add glob-hash dependency

This commit is contained in:
Marco Gario
2020-12-09 21:17:17 +01:00
parent 19e9176f97
commit 3478b5fea1
738 changed files with 54003 additions and 12191 deletions
+7 -2
View File
@@ -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