Skip to content

Commit 8c3bd77

Browse files
committed
TS: Use const instead of let
1 parent 7a2edfb commit 8c3bd77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/result-keys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const none: PathNode | undefined = undefined;
3030
export function getResult(sarif: sarif.Log, key: Result): sarif.Result | undefined {
3131
if (sarif.runs.length === 0) return undefined;
3232
if (sarif.runs[0].results === undefined) return undefined;
33-
let results = sarif.runs[0].results;
33+
const results = sarif.runs[0].results;
3434
return results[key.resultIndex];
3535
}
3636

0 commit comments

Comments
 (0)