mirror of
https://github.com/github/codeql-action.git
synced 2025-12-24 08:10:06 +08:00
review-comments: remove syntax-error handling for SARIF from upload-lib
This commit is contained in:
1
lib/upload-lib.js
generated
1
lib/upload-lib.js
generated
@@ -540,7 +540,6 @@ function shouldConsiderInvalidRequest(processingErrors) {
|
||||
return processingErrors.every((error) => error.startsWith("rejecting SARIF") ||
|
||||
error.startsWith("an invalid URI was provided as a SARIF location") ||
|
||||
error.startsWith("locationFromSarifResult: expected artifact location") ||
|
||||
error.startsWith("SyntaxError: Unexpected end of JSON input") ||
|
||||
error.startsWith("could not convert rules: invalid security severity value, is not a number") ||
|
||||
/^SARIF URI scheme [^\s]* did not match the checkout URI scheme [^\s]*/.test(error));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user