File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/query-tests/Expressions/MissingAwait Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,8 @@ predicate isBadPromiseContext(Expr expr) {
4545 or
4646 exists ( UnaryExpr e |
4747 expr = e .getOperand ( ) and
48- not e instanceof VoidExpr
48+ not e instanceof VoidExpr and
49+ not e instanceof DeleteExpr
4950 )
5051 or
5152 expr = any ( UpdateExpr e ) .getOperand ( )
Original file line number Diff line number Diff line change 1- | tsTest.ts:4:12:4:19 | cache[x] | Missing await. This value is always a promise. |
21| tst.js:8:9:8:13 | thing | Missing await. The value 'thing' is always a promise. |
32| tst.js:10:9:10:13 | thing | Missing await. The value 'thing' is always a promise. |
43| tst.js:12:15:12:19 | thing | Missing await. The value 'thing' is always a promise. |
You can’t perform that action at this time.
0 commit comments