From a7b73f44b2b5a65f093cc2a830605b7e37117ca9 Mon Sep 17 00:00:00 2001 From: Asger F Date: Wed, 30 Mar 2022 15:59:47 +0200 Subject: [PATCH] Update javascript/ql/lib/semmle/javascript/ApiGraphs.qll Co-authored-by: Calum Grant <42069085+calumgrant@users.noreply.github.com> --- javascript/ql/lib/semmle/javascript/ApiGraphs.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/ql/lib/semmle/javascript/ApiGraphs.qll b/javascript/ql/lib/semmle/javascript/ApiGraphs.qll index 79aa8a2ee5c..89135485152 100644 --- a/javascript/ql/lib/semmle/javascript/ApiGraphs.qll +++ b/javascript/ql/lib/semmle/javascript/ApiGraphs.qll @@ -106,7 +106,7 @@ module API { * }); * ``` * If `foo` calls `myMethod` on its first parameter, either of the `myMethod` implementations will be invoked. - * An indeed, the access path `API::moduleImport("foo").getParameter(0).getMember("myMethod").getParameter(0)` correctly + * And indeed, the access path `API::moduleImport("foo").getParameter(0).getMember("myMethod").getParameter(0)` correctly * identifies both `x` parameters. * * Observe how `getMember("myMethod")` behaves when the member is defined via a getter. When thinking in code patterns,