Skip to content

Commit f3e0cfd

Browse files
asgerferik-krogh
andauthored
Apply suggestions from code review
Co-authored-by: Erik Krogh Kristensen <[email protected]>
1 parent b0f73f1 commit f3e0cfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/TSConfig.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ class TSConfig extends JsonObject {
141141
}
142142

143143
/**
144-
* Holds if this has an exact path mapping from `pattern` to `newPath`.
144+
* Holds if this has an exact path mapping (i.e. no wildcards) from `pattern` to `newPath`.
145145
*
146146
* For example, `"paths": { "@": "./src/index.ts" }` maps the `@` path to `./src/index.ts`.
147147
*

javascript/ql/lib/semmle/javascript/internal/paths/PackageJsonEx.qll

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ private import javascript
22
private import semmle.javascript.internal.paths.JSPaths
33

44
/**
5-
* Extension of `PackageJson` with some internal path-resolution predicates.
5+
* A `package.json` file. The class is an extension of the `PackageJson` class with some internal path-resolution predicates.
66
*/
77
class PackageJsonEx extends PackageJson {
88
private JsonValue getAPartOfExportsSection(string pattern) {

0 commit comments

Comments
 (0)