Skip to content

Commit 432a591

Browse files
committed
Merge branch 'js/api-graph-tweaks' of github.com:asgerf/codeql into js/api-graph-tweaks
2 parents cf12b65 + ac6d4aa commit 432a591

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/semmle/javascript/ApiGraphs.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ module API {
122122
* source level.
123123
*
124124
* This predicate may have multiple results when there are multiple constructor calls invoking this API component.
125-
* Consider using `getAnInstantiation()` if there is a need to distingiush between individual constructor calls.
125+
* Consider using `getAnInstantiation()` if there is a need to distinguish between individual constructor calls.
126126
*/
127127
Node getInstance() { result = getASuccessor(Label::instance()) }
128128

@@ -833,7 +833,7 @@ module API {
833833
result.getARhs() = getArgument(i)
834834
}
835835

836-
/** Gets the API node a parameter of this invocation. */
836+
/** Gets the API node for a parameter of this invocation. */
837837
Node getAParameter() { result = getParameter(_) }
838838

839839
/** Gets the API node for the last parameter of this invocation. */

0 commit comments

Comments
 (0)