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

Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
Asger F
2020-05-11 15:59:58 +01:00
committed by Asger Feldthaus
parent a982cdc39c
commit b9995b784d

View File

@@ -58,7 +58,7 @@ module ConnectExpressShared {
(
sig.has("next")
implies
function.getParameter(sig.getParameterIndex("next")).getName() = "next"
function.getParameter(sig.getParameterIndex("next")).getName() = ["next", "cb"]
)
}