add model of the util.promisify library

This commit is contained in:
Erik Krogh Kristensen
2021-06-20 22:40:55 +02:00
parent 2f3ea4412f
commit 61cc415a32
4 changed files with 55 additions and 2 deletions

View File

@@ -685,7 +685,7 @@ module Promisify {
PromisifyCall() {
this = DataFlow::moduleImport(["util", "bluebird"]).getAMemberCall("promisify")
or
this = DataFlow::moduleImport("pify").getACall()
this = DataFlow::moduleImport(["pify", "util.promisify"]).getACall()
}
}
}