(id: string)
| 173 | } |
| 174 | |
| 175 | async remove(id: string): Promise<void> { |
| 176 | const key = normalizePluginId(id); |
| 177 | if (!this.records.delete(key)) { |
| 178 | throw new Error(`Plugin "${id}" is not installed`); |
| 179 | } |
| 180 | await this.persist(); |
| 181 | } |
| 182 | |
| 183 | async reload(): Promise<ReloadSummary> { |
| 184 | const prevIds = new Set(this.records.keys()); |
nothing calls this directly
no test coverage detected