JS: Use explicit this

This commit is contained in:
Asger F
2022-08-15 12:49:23 +02:00
parent 671573633b
commit 3c41f28519

View File

@@ -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.