Skip to content

Commit 7e80823

Browse files
committed
JS: Fix deprecated API usage
1 parent b373901 commit 7e80823

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ module ClassNode {
965965
)
966966
or
967967
exists(string name |
968-
GlobalAccessPath::fromRhs(this) = name and
968+
this = AccessPath::getAnAssignmentTo(name) and
969969
result = getAPrototypeReferenceInFile(name, getFile())
970970
)
971971
or

0 commit comments

Comments
 (0)