We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a2edfb commit 8c3bd77Copy full SHA for 8c3bd77
extensions/ql-vscode/src/result-keys.ts
@@ -30,7 +30,7 @@ export const none: PathNode | undefined = undefined;
30
export function getResult(sarif: sarif.Log, key: Result): sarif.Result | undefined {
31
if (sarif.runs.length === 0) return undefined;
32
if (sarif.runs[0].results === undefined) return undefined;
33
- let results = sarif.runs[0].results;
+ const results = sarif.runs[0].results;
34
return results[key.resultIndex];
35
}
36
0 commit comments