improve logging coverage when uploaing sarif files

This commit is contained in:
nickfyson 2024-04-03 15:45:28 +01:00
parent 99c9897648
commit 6514cbb626
9 changed files with 37 additions and 16 deletions

1
lib/fingerprints.js generated
View file

@ -238,6 +238,7 @@ exports.resolveUriToFile = resolveUriToFile;
// Compute fingerprints for results in the given sarif file
// and return an updated sarif file contents.
async function addFingerprints(sarif, sourceRoot, logger) {
logger.info(`Adding fingerprints to SARIF file`);
// Gather together results for the same file and construct
// callbacks to accept hashes for that file and update the location
const callbacksByFile = {};