mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +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
|
||||
not exists(candidate.getTest()) and result = candidate
|
||||
|
|
||||
t.getAMemberString() = scheme.getWithOrWithoutColon() and
|
||||
candidate.getAMemberString() = scheme.getWithOrWithoutColon() and
|
||||
schemeOf(nd).flowsTo(candidate)
|
||||
)
|
||||
or
|
||||
|
||||
@@ -46,7 +46,6 @@ class MembershipCandidate extends DataFlow::Node {
|
||||
module MembershipCandidate {
|
||||
/**
|
||||
* An expression that is tested for membership of a collection.
|
||||
*
|
||||
*/
|
||||
abstract class Range extends DataFlow::Node {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user