Skip to content

Commit 6ce9a83

Browse files
committed
style(js): Update formatting
1 parent d6f539a commit 6ce9a83

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ module ExpressValidator {
5555
/**
5656
* Gets the route handler that is validated.
5757
*/
58-
Express::RouteHandler getRouteHandler() {
59-
Routing::getRouteHandler(result).isGuardedBy(this)
60-
}
58+
Express::RouteHandler getRouteHandler() { Routing::getRouteHandler(result).isGuardedBy(this) }
6159

6260
/**
6361
* Gets the parameter that is validated and is secure
@@ -80,7 +78,7 @@ module ExpressValidator {
8078
/**
8179
* If the `query/body/cookie/header` functions are called, we want to check if one of the
8280
* chaining method calls is a sanitizer.
83-
*
81+
*
8482
* If a non-sanitizing functions is called, we want to recursively check if the parent is safe
8583
*/
8684
private predicate isSafe(DataFlow::SourceNode node) {

0 commit comments

Comments
 (0)