mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
code generalization
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -235,7 +235,8 @@ module Hapi {
|
||||
this.getMethodName() = "route" and
|
||||
handler =
|
||||
this.getArgument(0)
|
||||
.(DataFlow::ArrayLiteralNode)
|
||||
.getALocalSource()
|
||||
.(DataFlow::ArrayCreationNode)
|
||||
.getAnElement()
|
||||
.(DataFlow::ObjectLiteralNode)
|
||||
.getAPropertySource("handler")
|
||||
|
||||
Reference in New Issue
Block a user