mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
copy data from both callbacks in Promise data-flow
This commit is contained in:
@@ -230,7 +230,7 @@ private module PromiseFlow {
|
||||
or
|
||||
// read the value of a resolved/rejected promise that is returned
|
||||
(prop = rejectField() or prop = resolveField()) and
|
||||
pred = getCallback(0).getAReturn() and
|
||||
pred = getCallback([0..1]).getAReturn() and
|
||||
succ = this
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user