JS: Fix deprecated API usage

This commit is contained in:
Asger F
2019-10-30 10:40:09 +00:00
parent b373901e11
commit 7e80823cb6

View File

@@ -965,7 +965,7 @@ module ClassNode {
)
or
exists(string name |
GlobalAccessPath::fromRhs(this) = name and
this = AccessPath::getAnAssignmentTo(name) and
result = getAPrototypeReferenceInFile(name, getFile())
)
or