(workspaceFilePath: string)
| 156 | } |
| 157 | |
| 158 | static async load(workspaceFilePath: string): Promise<AngularWorkspace> { |
| 159 | const result = await workspaces.readWorkspace( |
| 160 | workspaceFilePath, |
| 161 | createWorkspaceHost(), |
| 162 | workspaces.WorkspaceFormat.JSON, |
| 163 | ); |
| 164 | |
| 165 | return new AngularWorkspace(result.workspace, workspaceFilePath); |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | const cachedWorkspaces = new Map<string, AngularWorkspace | undefined>(); |
no test coverage detected