()
| 147 | } |
| 148 | |
| 149 | save(): Promise<void> { |
| 150 | return workspaces.writeWorkspace( |
| 151 | this.workspace, |
| 152 | createWorkspaceHost(), |
| 153 | this.filePath, |
| 154 | workspaces.WorkspaceFormat.JSON, |
| 155 | ); |
| 156 | } |
| 157 | |
| 158 | static async load(workspaceFilePath: string): Promise<AngularWorkspace> { |
| 159 | const result = await workspaces.readWorkspace( |
no test coverage detected