Update changelog

This commit is contained in:
Andrew Eisenberg 2023-05-02 13:50:38 -07:00
parent febbadf751
commit ece3cbc8ec
3 changed files with 3 additions and 2 deletions

2
lib/upload-lib.js generated
View file

@ -179,7 +179,7 @@ exports.countResultsInSarif = countResultsInSarif;
// Throws an error if the file is invalid.
function validateSarifFileSchema(sarifFilePath, logger) {
const sarif = JSON.parse(fs.readFileSync(sarifFilePath, "utf8"));
const schema = require("../src/sarif_v2.1.0_schema.json");
const schema = require("../src/sarif-schema-2.1.0.json");
const result = new jsonschema.Validator().validate(sarif, schema);
if (!result.valid) {
// Output the more verbose error messages in groups as these may be very large.