Remove unneeded code for 2.13.4 and earlier

This commit is contained in:
Henry Mercer 2024-08-05 17:48:55 +01:00
parent 4be318a22d
commit 0763ccfe11
18 changed files with 28 additions and 142 deletions

View file

@ -74,7 +74,7 @@ async function maybeUploadFailedSarif(config, repositoryNwo, features, logger) {
}
else {
// We call 'database export-diagnostics' to find any per-database diagnostics.
await codeql.databaseExportDiagnostics(databasePath, sarifFile, category, config.tempDir, logger);
await codeql.databaseExportDiagnostics(databasePath, sarifFile, category);
}
logger.info(`Uploading failed SARIF file ${sarifFile}`);
const uploadResult = await uploadLib.uploadFiles(sarifFile, checkoutPath, category, features, logger);