Enable no-unsafe-return rule
This commit is contained in:
parent
2f54d9fcfa
commit
1ea11ca775
16 changed files with 30 additions and 26 deletions
2
lib/upload-lib.js
generated
2
lib/upload-lib.js
generated
|
|
@ -224,7 +224,7 @@ async function uploadPayload(payload, repositoryNwo, logger) {
|
|||
logger.info(`In test mode. Results are not uploaded. Saving to ${payloadSaveFile}`);
|
||||
logger.info(`Payload: ${JSON.stringify(payload, null, 2)}`);
|
||||
fs.writeFileSync(payloadSaveFile, JSON.stringify(payload, null, 2));
|
||||
return;
|
||||
return "test-mode-sarif-id";
|
||||
}
|
||||
const client = api.getApiClient();
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue