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 93af0d0 commit 653cd86Copy full SHA for 653cd86
javascript/ql/lib/semmle/javascript/NPM.qll
@@ -14,7 +14,7 @@ class PackageJson extends JsonObject {
14
15
/**
16
* Gets the name of this package.
17
- * If the package is located under the package `pkg1` and its relative path is `foo/bar`, it can be `pkg1/foo/bar`.
+ * If the package is located under the package `pkg1` and its relative path is `foo/bar`, then the resulting package name will be `pkg1/foo/bar`.
18
*/
19
string getPackageName() {
20
result = this.getPropStringValue("name")
0 commit comments