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

@@ -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}`,
);