From 187fb07934d44fa280e7a128f8132c8669f0a223 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 16 Dec 2025 13:34:48 -0500 Subject: [PATCH] fix: sentence case and onunload promise in main.ts --- src/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 8a0358f..81a2e96 100644 --- a/src/main.ts +++ b/src/main.ts @@ -42,7 +42,7 @@ export default class MCPServerPlugin extends Plugin { this.updateStatusBar(); // Add ribbon icon to toggle server - this.addRibbonIcon('server', 'Toggle MCP Server', async () => { + this.addRibbonIcon('server', 'Toggle MCP server', async () => { if (this.mcpServer?.isRunning()) { await this.stopServer(); } else { @@ -93,8 +93,8 @@ export default class MCPServerPlugin extends Plugin { } } - async onunload() { - await this.stopServer(); + onunload() { + void this.stopServer(); } async startServer() {