mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
make maybePromisified private
This commit is contained in:
@@ -589,7 +589,7 @@ module NodeJSLib {
|
||||
/**
|
||||
* Gets a possibly promisified (using `util.promisify`) version of the input `callback`.
|
||||
*/
|
||||
DataFlow::SourceNode maybePromisified(DataFlow::SourceNode callback) {
|
||||
private DataFlow::SourceNode maybePromisified(DataFlow::SourceNode callback) {
|
||||
result = callback
|
||||
or
|
||||
exists(DataFlow::CallNode promisify |
|
||||
|
||||
Reference in New Issue
Block a user