mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
basic support for util.promisify for NodeJSFileSystemAccess
This commit is contained in:
@@ -459,7 +459,7 @@ module NodeJSLib {
|
||||
private class NodeJSFileSystemAccess extends FileSystemAccess, DataFlow::CallNode {
|
||||
string methodName;
|
||||
|
||||
NodeJSFileSystemAccess() { this = fsModuleMember(methodName).getACall() }
|
||||
NodeJSFileSystemAccess() { this = maybePromisified(fsModuleMember(methodName)).getACall() }
|
||||
|
||||
/**
|
||||
* Gets the name of the called method.
|
||||
|
||||
Reference in New Issue
Block a user