Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit debb569

Browse files
committed
JS: Make PipeRefExpr a SourceNode
1 parent fcb8124 commit debb569

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • javascript/ql/src/semmle/javascript/dataflow

javascript/ql/src/semmle/javascript/dataflow/Sources.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ module SourceNode {
308308
astNode instanceof DynamicImportExpr or
309309
astNode instanceof ImportSpecifier or
310310
astNode instanceof ImportMetaExpr or
311-
astNode instanceof TaggedTemplateExpr
311+
astNode instanceof TaggedTemplateExpr or
312+
astNode instanceof Angular2::PipeRefExpr
312313
)
313314
or
314315
DataFlow::parameterNode(this, _)

0 commit comments

Comments
 (0)