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:26 +00:00
committed by Asger Feldthaus
parent 759e1dfe45
commit 4c9ef8c570

View File

@@ -71,7 +71,7 @@ predicate isStartOfCallPath(InvokeNode invoke) {
not callEdge+(rootCall(), invoke)
}
/** Gets a function contains no calls to other functions. */
/** Gets a function that contains no calls to other functions. */
private FunctionNode leafFunction() {
not callEdge(result, _)
}