(workspaceId: string)
| 1774 | } |
| 1775 | |
| 1776 | private async emitWorkspaceMetadata(workspaceId: string): Promise<void> { |
| 1777 | assert(workspaceId.length > 0, "emitWorkspaceMetadata: workspaceId must be non-empty"); |
| 1778 | |
| 1779 | const allMetadata = await this.config.getAllWorkspaceMetadata(); |
| 1780 | const metadata = allMetadata.find((m) => m.id === workspaceId) ?? null; |
| 1781 | this.workspaceService.emit("metadata", { workspaceId, metadata }); |
| 1782 | } |
| 1783 | |
| 1784 | private configureMultiProjectRuntimeEnvResolver(runtime: Runtime): void { |
| 1785 | if (!(runtime instanceof MultiProjectRuntime)) { |
no test coverage detected