review-comments: remove syntax-error handling for SARIF from upload-lib
This commit is contained in:
parent
55ee663d5f
commit
b53826d56d
12 changed files with 24 additions and 14 deletions
2
lib/upload-lib.test.js
generated
2
lib/upload-lib.test.js
generated
|
|
@ -268,7 +268,7 @@ ava_1.default.beforeEach(() => {
|
|||
t.true(uploadLib.shouldConsiderInvalidRequest(error1));
|
||||
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));
|
||||
// We expect ALL errors to be of processing errors, for the outcome to be classified as
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue