We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6715736 commit 3c41f28Copy full SHA for 3c41f28
javascript/ql/lib/semmle/javascript/NPM.qll
@@ -56,7 +56,7 @@ class PackageJson extends JsonObject {
56
* This can be given by the `main` or `module` property, or via the
57
* `exports` property with the relative path `"."`.
58
*/
59
- string getMain() { result = getExportedPath(".") }
+ string getMain() { result = this.getExportedPath(".") }
60
61
/**
62
* Gets the path to the file exported with the given relative path.
0 commit comments