Skip to content

Commit 82d3a7e

Browse files
committed
JS: Go back to disjunction 😭
1 parent c45d84f commit 82d3a7e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ module ConnectExpressShared {
1717
*/
1818
private class RouteHandlerSignature extends string {
1919
RouteHandlerSignature() {
20-
this =
21-
["request,response", "request,response,next", "request,response,next,parameter",
22-
"error,request,response,next"]
20+
this = "request,response" or
21+
this = "request,response,next" or
22+
this = "request,response,next,parameter" or
23+
this = "error,request,response,next"
2324
}
2425

2526
/** Gets the index of the parameter corresonding to the given `kind`, if any. */

0 commit comments

Comments
 (0)