Skip to content

Commit bec8dc6

Browse files
committed
add explicit this
1 parent b7305fd commit bec8dc6

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
@@ -198,7 +198,7 @@ class PackageJson extends JsonObject {
198198
/**
199199
* Gets the main module of this package.
200200
*/
201-
Module getMainModule() { result = getExportedModule(".") }
201+
Module getMainModule() { result = this.getExportedModule(".") }
202202

203203
/**
204204
* Gets the module exported under the given relative path.

0 commit comments

Comments
 (0)