We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b3e86c commit 970ddcaCopy full SHA for 970ddca
javascript/ql/src/Expressions/UnknownDirective.ql
@@ -17,6 +17,6 @@ where
17
not d.getExpr().getStringValue() = ":" and
18
// but exclude attribute top-levels: `<a href="javascript:'some-attribute-string'">`
19
not d.getParent() instanceof CodeInAttribute and
20
- // exclude babel generated directives like "@babel/helpers - typeof".
+ // exclude babel generated directives like "@babel/helpers - typeof".
21
not d.getDirectiveText().prefix(14) = "@babel/helpers"
22
select d, "Unknown directive: '" + truncate(d.getDirectiveText(), 20, " ... (truncated)") + "'."
0 commit comments