mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
JS: address review comments
This commit is contained in:
@@ -56,6 +56,7 @@ where maybeMissingThis(call, intendedTarget, gv)
|
||||
intendedTarget.getBody() = self and
|
||||
call.getEnclosingFunction() = self and
|
||||
call.flow().(DataFlow::CallNode).getNumArgument() > self.getNumParameter() and
|
||||
not self.hasRestParameter() and
|
||||
not self.usesArgumentsObject()
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user