mirror of
https://github.com/github/codeql-action.git
synced 2026-10-29 17:17:15 +00:00
Fix new linter errors
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user