mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
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:
@@ -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, _)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user