mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Update javascript/ql/lib/semmle/javascript/frameworks/Hapi.qll
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -32,7 +32,7 @@ module Hapi {
|
||||
exists(ServerDefinition server, DataFlow::MethodCallNode call |
|
||||
call = server.ref().getAMethodCall() and
|
||||
call.getMethodName() = "dependency" and
|
||||
this = call.getArgument(1).(DataFlow::FunctionNode).getParameter(0)
|
||||
this = call.getABoundCallbackParameter(1, 0)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user