Skip to content

Commit 8f8a468

Browse files
asgerferik-krogh
andauthored
Update javascript/ql/src/semmle/javascript/frameworks/Templating.qll
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 2553338 commit 8f8a468

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/Templating.qll

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,10 @@ module Templating {
630630
override DataFlow::Node getTemplateParamsNode() { result = getArgument(1) }
631631
}
632632

633-
/** The `include` function, seen as an API node, so we can treat it as a template instantiation. */
633+
/**
634+
* The `include` function, seen as an API node, so we can treat it as a template instantiation.
635+
* These API nodes are used in the `getTemplateInput` predicate.
636+
*/```
634637
private class IncludeFunctionAsEntryPoint extends API::EntryPoint {
635638
IncludeFunctionAsEntryPoint() { this = "IncludeFunctionAsEntryPoint" }
636639

0 commit comments

Comments
 (0)