mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
JS: typo fixups
This commit is contained in:
@@ -67,7 +67,7 @@ DataFlow::Node schemeCheck(DataFlow::Node nd, DangerousScheme scheme) {
|
|||||||
// fall back to the candidate if the test itself is implicit
|
// fall back to the candidate if the test itself is implicit
|
||||||
not exists(candidate.getTest()) and result = candidate
|
not exists(candidate.getTest()) and result = candidate
|
||||||
|
|
|
|
||||||
t.getAMemberString() = scheme.getWithOrWithoutColon() and
|
candidate.getAMemberString() = scheme.getWithOrWithoutColon() and
|
||||||
schemeOf(nd).flowsTo(candidate)
|
schemeOf(nd).flowsTo(candidate)
|
||||||
)
|
)
|
||||||
or
|
or
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ class MembershipCandidate extends DataFlow::Node {
|
|||||||
module MembershipCandidate {
|
module MembershipCandidate {
|
||||||
/**
|
/**
|
||||||
* An expression that is tested for membership of a collection.
|
* An expression that is tested for membership of a collection.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
abstract class Range extends DataFlow::Node {
|
abstract class Range extends DataFlow::Node {
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user