mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
add model of the thenify library
This commit is contained in:
@@ -686,6 +686,10 @@ module Promisify {
|
||||
this = DataFlow::moduleImport(["util", "bluebird"]).getAMemberCall("promisify")
|
||||
or
|
||||
this = DataFlow::moduleImport(["pify", "util.promisify"]).getACall()
|
||||
or
|
||||
this = DataFlow::moduleImport("thenify").getACall()
|
||||
or
|
||||
this = DataFlow::moduleMember("thenify", "withCallback").getACall()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user