Skip to content

Commit cb96ee8

Browse files
erik-kroghesbena
andauthored
remove redundant instanceof check
Co-authored-by: Esben Sparre Andreasen <[email protected]>
1 parent 6775294 commit cb96ee8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

javascript/ql/src/semmle/javascript/Promises.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ private module PromiseFlow {
327327
pred = promise.getValue() and
328328
succ = this
329329
or
330-
promise instanceof PromiseAllCreation and
331330
prop = valueProp() and
332331
pred = promise.(PromiseAllCreation).getArrayNode() and
333332
succ = this

0 commit comments

Comments
 (0)