review-comments: remove syntax-error handling for SARIF from upload-lib

This commit is contained in:
Fotis Koutoulakis (@NlightNFotis) 2025-04-01 15:10:16 +01:00
parent 55ee663d5f
commit b53826d56d
12 changed files with 24 additions and 14 deletions

View file

@ -433,7 +433,7 @@ test("shouldConsiderInvalidRequest returns correct recognises processing errors"
const error2 = [
"locationFromSarifResult: expected artifact location",
"SyntaxError: Unexpected end of JSON input",
"an invalid URI was provided as a SARIF location",
];
t.true(uploadLib.shouldConsiderInvalidRequest(error2));