mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
JS: Make implicit this receivers explicit
This commit is contained in:
@@ -507,7 +507,7 @@ class DirectiveTargetName extends string {
|
||||
* `:` and `_` count as component delimiters.
|
||||
*/
|
||||
string getRawComponent(int i) {
|
||||
result = toLowerCase().regexpFind("(?<=^|[-:_])[a-zA-Z0-9]+(?=$|[-:_])", i, _)
|
||||
result = this.toLowerCase().regexpFind("(?<=^|[-:_])[a-zA-Z0-9]+(?=$|[-:_])", i, _)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user