Skip to content

Commit 8bf0bbb

Browse files
mbaludaerik-krogh
andauthored
code generalization
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent 798b03f commit 8bf0bbb

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/lib/semmle/javascript/frameworks

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/Hapi.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ module Hapi {
238238
.getALocalSource()
239239
.(DataFlow::ArrayCreationNode)
240240
.getAnElement()
241-
.(DataFlow::ObjectLiteralNode)
241+
.getALocalSource()
242242
.getAPropertySource("handler")
243243
.getAFunctionValue()
244244
)

0 commit comments

Comments
 (0)