(name: string)
| 579 | } |
| 580 | |
| 581 | public async setActiveProfile(name: string): Promise<string | undefined> { |
| 582 | const entry = this.getProfileEntry(name) |
| 583 | |
| 584 | if (!entry) { |
| 585 | throw new Error(`Profile with name "${name}" does not exist`) |
| 586 | } |
| 587 | |
| 588 | await this.sidebarProvider.activateProviderProfile({ name }) |
| 589 | return this.getActiveProfile() |
| 590 | } |
| 591 | } |
nothing calls this directly
no test coverage detected