Skip to content

Commit 083b8ef

Browse files
authored
Merge pull request github#3568 from asger-semmle/js/avoid-accidental-string-coercion
Approved by erik-krogh
2 parents c7fa112 + 75fee22 commit 083b8ef

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/src/semmle/javascript

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/JSX.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ class JSXName extends Expr {
196196
)
197197
or
198198
exists(JSXQualifiedName qual | qual = this |
199-
result = qual.getNamespace() + ":" + qual.getName()
199+
result = qual.getNamespace().getName() + ":" + qual.getName().getName()
200200
)
201201
}
202202
}

0 commit comments

Comments
 (0)