mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
JavaScript: Make PathSummary.toString more useful.
This commit is contained in:
@@ -316,7 +316,8 @@ class PathSummary extends TPathSummary {
|
||||
exists (string withReturn, string withCall |
|
||||
(if hasReturn = true then withReturn = "with" else withReturn = "without") and
|
||||
(if hasCall = true then withCall = "with" else withCall = "without") |
|
||||
result = "forward path " + withReturn + " return steps and " + withCall + " call steps"
|
||||
result = "path " + withReturn + " return steps and " + withCall + " call steps " +
|
||||
"transforming " + start + " into " + end
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user