Skip to content

Commit 604ff23

Browse files
authored
Merge pull request #267 from xiemaisi/js/fix-deprecated-use
Approved by asger-semmle
2 parents e9adc63 + c7b4238 commit 604ff23

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class ArrayLiteralNode extends DataFlow::ValueNode, DataFlow::DefaultSourceNode
307307
/** A data flow node corresponding to a `new Array()` or `Array()` invocation. */
308308
class ArrayConstructorInvokeNode extends DataFlow::InvokeNode {
309309
ArrayConstructorInvokeNode() {
310-
getCallee() = DataFlow::globalVarRef("Array")
310+
getCalleeNode() = DataFlow::globalVarRef("Array")
311311
}
312312

313313
/** Gets the `i`th initial element of this array, if one is provided. */

0 commit comments

Comments
 (0)