mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
add back support for util-promisifyall
This commit is contained in:
@@ -672,8 +672,10 @@ module Promisify {
|
||||
class PromisifyAllCall extends DataFlow::CallNode {
|
||||
PromisifyAllCall() {
|
||||
this =
|
||||
[DataFlow::moduleMember("bluebird", "promisifyAll"), DataFlow::moduleImport("pify")]
|
||||
.getACall()
|
||||
[
|
||||
DataFlow::moduleMember("bluebird", "promisifyAll"),
|
||||
DataFlow::moduleImport(["util-promisifyall", "pify"])
|
||||
].getACall()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user