Skip to content

Commit

Permalink
chore(core): remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz committed Aug 10, 2023
1 parent 0bca900 commit 5cb78c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/generated/devkit/ProjectGraphBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ The ProjectGraphProcessor has been deprecated. Use a [CreateNodes](../../devkit/

### fileMap

`Private` `Optional` `Readonly` **fileMap**: [`ProjectFileMap`](../../devkit/documents/ProjectFileMap)
`Private` `Readonly` **fileMap**: [`ProjectFileMap`](../../devkit/documents/ProjectFileMap)

---

### graph

`Optional` `Readonly` **graph**: [`ProjectGraph`](../../devkit/documents/ProjectGraph)
`Readonly` **graph**: [`ProjectGraph`](../../devkit/documents/ProjectGraph)

---

Expand Down
4 changes: 2 additions & 2 deletions packages/nx/src/project-graph/project-graph-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export class ProjectGraphBuilder {
) {
throw new Error(`Target project does not exist: ${targetProjectName}`);
}
// this._graph.dependencies[sourceProjectName] = this._graph.dependencies[
// this.graph.dependencies[sourceProjectName] = this.graph.dependencies[
// sourceProjectName
// ].filter((d) => d.target !== targetProjectName);
if (!this.removedEdges[sourceProjectName]) {
Expand Down Expand Up @@ -323,7 +323,7 @@ export class ProjectGraphBuilder {
sourceProject: string
): Map<string, Set<DependencyType | string>> {
const fileDeps = new Map<string, Set<DependencyType | string>>();
const files = this.fileMap?.[sourceProject] || [];
const files = this.fileMap[sourceProject] || [];
if (!files) {
return fileDeps;
}
Expand Down

0 comments on commit 5cb78c3

Please sign in to comment.