Skip to content

Commit 062502f

Browse files
committed
add back support for util-promisifyall
1 parent 4360e5d commit 062502f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,10 @@ module Promisify {
672672
class PromisifyAllCall extends DataFlow::CallNode {
673673
PromisifyAllCall() {
674674
this =
675-
[DataFlow::moduleMember("bluebird", "promisifyAll"), DataFlow::moduleImport("pify")]
676-
.getACall()
675+
[
676+
DataFlow::moduleMember("bluebird", "promisifyAll"),
677+
DataFlow::moduleImport(["util-promisifyall", "pify"])
678+
].getACall()
677679
}
678680
}
679681

0 commit comments

Comments
 (0)