mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
JS: Treat string literals as source nodes
This commit is contained in:
@@ -321,7 +321,8 @@ module SourceNode {
|
||||
astNode instanceof ImportMetaExpr or
|
||||
astNode instanceof TaggedTemplateExpr or
|
||||
astNode instanceof Angular2::PipeRefExpr or
|
||||
astNode instanceof Angular2::TemplateVarRefExpr
|
||||
astNode instanceof Angular2::TemplateVarRefExpr or
|
||||
astNode instanceof StringLiteral
|
||||
)
|
||||
or
|
||||
DataFlow::parameterNode(this, _)
|
||||
|
||||
Reference in New Issue
Block a user