mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Apply suggestions from code review
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
This commit is contained in:
@@ -141,7 +141,7 @@ class TSConfig extends JsonObject {
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if this has an exact path mapping from `pattern` to `newPath`.
|
||||
* Holds if this has an exact path mapping (i.e. no wildcards) from `pattern` to `newPath`.
|
||||
*
|
||||
* For example, `"paths": { "@": "./src/index.ts" }` maps the `@` path to `./src/index.ts`.
|
||||
*
|
||||
|
||||
@@ -2,7 +2,7 @@ private import javascript
|
||||
private import semmle.javascript.internal.paths.JSPaths
|
||||
|
||||
/**
|
||||
* Extension of `PackageJson` with some internal path-resolution predicates.
|
||||
* A `package.json` file. The class is an extension of the `PackageJson` class with some internal path-resolution predicates.
|
||||
*/
|
||||
class PackageJsonEx extends PackageJson {
|
||||
private JsonValue getAPartOfExportsSection(string pattern) {
|
||||
|
||||
Reference in New Issue
Block a user