Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0bdf67f

Browse files
committed
JS: Remove duplicate await step
1 parent 4116c1e commit 0bdf67f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,9 +490,6 @@ module TaintTracking {
490490
prop.isComputed() and f = prop.getNameExpr()
491491
)
492492
or
493-
// awaiting a tainted expression gives a tainted result
494-
e.(AwaitExpr).getOperand() = f
495-
or
496493
// spreading a tainted object into an object literal gives a tainted object
497494
e.(ObjectExpr).getAProperty().(SpreadProperty).getInit().(SpreadElement).getOperand() = f
498495
or

0 commit comments

Comments
 (0)