(host: SlashCommandHost)
| 539 | } |
| 540 | |
| 541 | async function reloadPlugins(host: SlashCommandHost): Promise<void> { |
| 542 | const summary = await host.requireSession().reloadPlugins(); |
| 543 | const line = `Reload: +${summary.added.length} -${summary.removed.length}` + |
| 544 | (summary.errors.length > 0 ? ` (${summary.errors.length} errors)` : ''); |
| 545 | host.showStatus(line); |
| 546 | } |
| 547 | |
| 548 | function resolvePluginInstallSource(source: string, workDir: string): string { |
| 549 | const trimmed = source.trim(); |
no test coverage detected