Fix new linter errors
This commit is contained in:
parent
acb243eabd
commit
ecb9ccfcb1
33 changed files with 41 additions and 33 deletions
|
|
@ -538,7 +538,7 @@ export async function getCodeQLForCmd(
|
|||
const output = await runTool(cmd, ["version", "--format=json"]);
|
||||
try {
|
||||
result = JSON.parse(output) as VersionInfo;
|
||||
} catch (err) {
|
||||
} catch {
|
||||
throw Error(
|
||||
`Invalid JSON output from \`version --format=json\`: ${output}`,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue