Enable unsafe call rule
This commit is contained in:
parent
d8f549d6d8
commit
e7d04fdb41
27 changed files with 135 additions and 129 deletions
1
lib/upload-lib.js
generated
1
lib/upload-lib.js
generated
|
|
@ -530,6 +530,7 @@ function handleProcessingResultForUnsuccessfulExecution(response, status, logger
|
|||
if (status === "failed" &&
|
||||
Array.isArray(response.data.errors) &&
|
||||
response.data.errors.length === 1 &&
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||
response.data.errors[0].toString().startsWith("unsuccessful execution")) {
|
||||
logger.debug("Successfully uploaded a SARIF file for the unsuccessful execution. Received expected " +
|
||||
'"unsuccessful execution" processing error, and no other errors.');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue