Fix new linter errors

This commit is contained in:
Henry Mercer 2024-08-05 19:22:26 +01:00
parent acb243eabd
commit ecb9ccfcb1
33 changed files with 41 additions and 33 deletions

View file

@ -190,7 +190,7 @@ export function dbIsFinalized(
fs.readFileSync(path.resolve(dbPath, "codeql-database.yml"), "utf8"),
) as { inProgress?: boolean };
return !("inProgress" in dbInfo);
} catch (e) {
} catch {
logger.warning(
`Could not check whether database for ${language} was finalized. Assuming it is not.`,
);