Fix new linter errors
This commit is contained in:
parent
acb243eabd
commit
ecb9ccfcb1
33 changed files with 41 additions and 33 deletions
2
lib/codeql.js
generated
2
lib/codeql.js
generated
|
|
@ -247,7 +247,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
try {
|
||||
result = JSON.parse(output);
|
||||
}
|
||||
catch (err) {
|
||||
catch {
|
||||
throw Error(`Invalid JSON output from \`version --format=json\`: ${output}`);
|
||||
}
|
||||
util.cacheCodeQlVersion(result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue