Skip to content

Commit c7b4238

Browse files
author
Max Schaefer
committed
JavaScript: Fix use of deprecated predicate.
1 parent 18a74a2 commit c7b4238

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)