Skip to content

Commit 1c2d874

Browse files
committed
JS: Quantify of ValueProperty instead of Property
1 parent 4e77a36 commit 1c2d874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/Classes.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ class ClassExpr extends @classexpr, ClassDefinition, Expr {
224224
(
225225
exists(VarDef vd | this = vd.getSource() | result = vd.getTarget().(VarRef).getName())
226226
or
227-
exists(Property p |
227+
exists(ValueProperty p |
228228
this = p.getInit() and
229229
result = p.getName()
230230
)

0 commit comments

Comments
 (0)