Skip to content

Commit cc2a905

Browse files
philipjfulcherFrozenPandaz
authored andcommitted
fix(misc): fix affected:dep-graph file output (#6581)
1 parent cfb0ccd commit cc2a905

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

dep-graph/dep-graph/src/app/app.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,7 @@ export class AppComponent {
5656
dependencies: project.dependencies,
5757
nodes: nodes,
5858
};
59-
window.affected = project.affected;
60-
window.exclude = project.exclude;
61-
window.focusedProject = project.focus;
62-
window.groupByFolder = project.groupByFolder;
59+
6360
window.projectGraphList = this.config.projectGraphs;
6461
window.selectedProjectGraph = projectGraphId;
6562
window.workspaceLayout = workspaceLayout;

dep-graph/dep-graph/src/main.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
import { AppComponent } from './app/app';
22
import { LocalProjectGraphService } from './app/local-project-graph-service';
33
import { environment } from './environments/environment';
4-
import { projectGraphs } from './graphs';
5-
6-
if (environment.environment !== 'release') {
7-
window.affected = [];
8-
window.exclude = [];
9-
window.projectGraphList = projectGraphs;
10-
window.selectedProjectGraph = projectGraphs[0].id;
11-
}
124

135
if (environment.environment === 'dev-watch') {
146
window.watch = true;

0 commit comments

Comments
 (0)