We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5e3bb3 commit 8109a7bCopy full SHA for 8109a7b
javascript/ql/lib/semmle/javascript/frameworks/Hapi.qll
@@ -32,7 +32,7 @@ module Hapi {
32
exists(ServerDefinition server, DataFlow::MethodCallNode call |
33
call = server.ref().getAMethodCall() and
34
call.getMethodName() = "dependency" and
35
- this = call.getArgument(1).(DataFlow::FunctionNode).getParameter(0)
+ this = call.getABoundCallbackParameter(1, 0)
36
)
37
}
38
0 commit comments