Update javascript/ql/src/semmle/javascript/explore/CallGraph.qll

Co-Authored-By: Max Schaefer <54907921+max-schaefer@users.noreply.github.com>
This commit is contained in:
Asger F
2020-02-20 12:32:33 +00:00
committed by Asger Feldthaus
parent 4c9ef8c570
commit 291ebccfef

View File

@@ -77,7 +77,7 @@ private FunctionNode leafFunction() {
}
/**
* Holds if `invoke` should be used as the starting point of a call path.
* Holds if `invoke` should be used as the end point of a call path.
*/
predicate isEndOfCallPath(FunctionNode fun) {
// `fun` should either be a leaf function or part of a cycle with no leaves.