mirror of
https://github.com/github/codeql-action.git
synced 2025-12-24 08:10:06 +08:00
Enable unsafe call rule
This commit is contained in:
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.');
|
||||
|
||||
Reference in New Issue
Block a user