Skip to content

Commit b9995b7

Browse files
asgerfesbena
andcommitted
Update javascript/ql/src/semmle/javascript/frameworks/ConnectExpressShared.qll
Co-authored-by: Esben Sparre Andreasen <[email protected]>
1 parent a982cdc commit b9995b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/ConnectExpressShared.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module ConnectExpressShared {
5858
(
5959
sig.has("next")
6060
implies
61-
function.getParameter(sig.getParameterIndex("next")).getName() = "next"
61+
function.getParameter(sig.getParameterIndex("next")).getName() = ["next", "cb"]
6262
)
6363
}
6464

0 commit comments

Comments
 (0)