Fix new linter errors
This commit is contained in:
parent
acb243eabd
commit
ecb9ccfcb1
33 changed files with 41 additions and 33 deletions
2
lib/analyze.js
generated
2
lib/analyze.js
generated
|
|
@ -108,7 +108,7 @@ function dbIsFinalized(config, language, logger) {
|
|||
const dbInfo = yaml.load(fs.readFileSync(path.resolve(dbPath, "codeql-database.yml"), "utf8"));
|
||||
return !("inProgress" in dbInfo);
|
||||
}
|
||||
catch (e) {
|
||||
catch {
|
||||
logger.warning(`Could not check whether database for ${language} was finalized. Assuming it is not.`);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue