Skip to content

Commit 8f45c8f

Browse files
committed
use LoadStoreStep for type-tracking promises
1 parent 1a2983f commit 8f45c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ module PromiseTypeTracking {
176176
summary = StoreStep(field) and
177177
step.store(pred, result, field)
178178
or
179-
summary = LevelStep() and
179+
summary = LoadStoreStep(field) and
180180
step.loadStore(pred, result, field)
181181
)
182182
}

0 commit comments

Comments
 (0)