Skip to content

Commit 3affe92

Browse files
author
Max Schaefer
committed
JavaScript: Make PathSummary.toString more useful.
1 parent dad13c9 commit 3affe92

File tree

1 file changed

+2
-1
lines changed
  • javascript/ql/src/semmle/javascript/dataflow/internal

1 file changed

+2
-1
lines changed

javascript/ql/src/semmle/javascript/dataflow/internal/FlowSteps.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ class PathSummary extends TPathSummary {
316316
exists (string withReturn, string withCall |
317317
(if hasReturn = true then withReturn = "with" else withReturn = "without") and
318318
(if hasCall = true then withCall = "with" else withCall = "without") |
319-
result = "forward path " + withReturn + " return steps and " + withCall + " call steps"
319+
result = "path " + withReturn + " return steps and " + withCall + " call steps " +
320+
"transforming " + start + " into " + end
320321
)
321322
}
322323
}

0 commit comments

Comments
 (0)