mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
JS: Use explicit this
This commit is contained in:
@@ -56,7 +56,7 @@ class PackageJson extends JsonObject {
|
||||
* This can be given by the `main` or `module` property, or via the
|
||||
* `exports` property with the relative path `"."`.
|
||||
*/
|
||||
string getMain() { result = getExportedPath(".") }
|
||||
string getMain() { result = this.getExportedPath(".") }
|
||||
|
||||
/**
|
||||
* Gets the path to the file exported with the given relative path.
|
||||
|
||||
Reference in New Issue
Block a user