Skip to content

Commit 3c41f28

Browse files
committed
JS: Use explicit this
1 parent 6715736 commit 3c41f28

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/lib/semmle/javascript

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/NPM.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class PackageJson extends JsonObject {
5656
* This can be given by the `main` or `module` property, or via the
5757
* `exports` property with the relative path `"."`.
5858
*/
59-
string getMain() { result = getExportedPath(".") }
59+
string getMain() { result = this.getExportedPath(".") }
6060

6161
/**
6262
* Gets the path to the file exported with the given relative path.

0 commit comments

Comments
 (0)