JS: Remove duplicate await step

This commit is contained in:
Asger Feldthaus
2020-03-30 11:04:49 +01:00
parent 4116c1ec66
commit 0bdf67f8aa

View File

@@ -490,9 +490,6 @@ module TaintTracking {
prop.isComputed() and f = prop.getNameExpr()
)
or
// awaiting a tainted expression gives a tainted result
e.(AwaitExpr).getOperand() = f
or
// spreading a tainted object into an object literal gives a tainted object
e.(ObjectExpr).getAProperty().(SpreadProperty).getInit().(SpreadElement).getOperand() = f
or