Skip to content

Commit 69f1778

Browse files
shati-patelcharisk
andcommitted
Update extensions/ql-vscode/src/remote-queries/remote-queries-markdown-generation.ts
Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com>
1 parent c55e801 commit 69f1778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/ql-vscode/src/remote-queries/remote-queries-markdown-generation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function generateMarkdownForPathResults(
176176
for (const codeFlow of interpretedResult.codeFlows) {
177177
const stepCount = codeFlow.threadFlows.length;
178178
pathLines.push(`#### Path with ${stepCount} steps`);
179-
for (let i = 0; i < codeFlow.threadFlows.length; i++) {
179+
for (let i = 0; i < stepCount; i++) {
180180
const threadFlow = codeFlow.threadFlows[i];
181181
const link = createMarkdownRemoteFileRef(
182182
threadFlow.fileLink,

0 commit comments

Comments
 (0)