fix some instances of ql/pred-doc-style for JS

This commit is contained in:
Erik Krogh Kristensen
2022-02-21 15:02:21 +01:00
parent 11bbd872f3
commit 1407b49a8f
33 changed files with 54 additions and 54 deletions

View File

@@ -30,7 +30,7 @@ predicate isRouteHandlerUsingCookies(Routing::RouteHandler handler) {
}
/**
* Checks if `route` is preceded by the cookie middleware `cookie`.
* Holds if `route` is preceded by the cookie middleware `cookie`.
*
* A router handler following after cookie parsing is assumed to depend on
* cookies, and thus require CSRF protection.
@@ -135,7 +135,7 @@ API::CallNode passportAuthenticateCall() {
}
/**
* A call of form `passport.authenticate(..., { session: false })`, implying that the incoming
* Gets a call of form `passport.authenticate(..., { session: false })`, implying that the incoming
* request must carry its credentials rather than relying on cookies.
*
* In principle such routes should not be preceded by a cookie-parsing middleware, but to

View File

@@ -172,7 +172,7 @@ query predicate edges(ASTNode pred, ASTNode succ) {
}
/**
* A node in the `edge/2` relation above.
* Holds if `node` is in the `edge/2` relation above.
*/
query predicate nodes(ASTNode node) {
edges(node, _) or

View File

@@ -12,7 +12,7 @@ import semmle.javascript.PrintAst
import definitions
/**
* The source file to generate an AST from.
* Gets the source file to generate an AST from.
*/
external string selectedSourceFile();