mirror of
https://github.com/github/codeql.git
synced 2026-05-01 11:45:14 +02:00
Update javascript/ql/src/semmle/javascript/frameworks/Templating.qll
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -630,7 +630,10 @@ module Templating {
|
||||
override DataFlow::Node getTemplateParamsNode() { result = getArgument(1) }
|
||||
}
|
||||
|
||||
/** The `include` function, seen as an API node, so we can treat it as a template instantiation. */
|
||||
/**
|
||||
* The `include` function, seen as an API node, so we can treat it as a template instantiation.
|
||||
* These API nodes are used in the `getTemplateInput` predicate.
|
||||
*/```
|
||||
private class IncludeFunctionAsEntryPoint extends API::EntryPoint {
|
||||
IncludeFunctionAsEntryPoint() { this = "IncludeFunctionAsEntryPoint" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user