(entry: InstalledRecord)
| 298 | } |
| 299 | |
| 300 | private async materialize(entry: InstalledRecord): Promise<PluginRecord> { |
| 301 | const parsed = await parseManifest(entry.root); |
| 302 | return recordFrom({ |
| 303 | id: entry.id, |
| 304 | root: entry.root, |
| 305 | enabled: entry.enabled, |
| 306 | installedAt: entry.installedAt, |
| 307 | updatedAt: entry.updatedAt, |
| 308 | originalSource: entry.originalSource, |
| 309 | capabilities: entry.capabilities, |
| 310 | github: entry.github, |
| 311 | source: entry.source, |
| 312 | parsed, |
| 313 | }); |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | async function normalizeInstallRoot(rootPath: string): Promise<string> { |
no test coverage detected