From 72c3478719bb2e526696b4c1528f249a0c8ce675 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 31 Mar 2026 14:31:01 -0700 Subject: [PATCH] naming --- apps/server/src/wsServer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/server/src/wsServer.ts b/apps/server/src/wsServer.ts index f401192f38..abe7956e18 100644 --- a/apps/server/src/wsServer.ts +++ b/apps/server/src/wsServer.ts @@ -214,8 +214,8 @@ export const createServer = Effect.fn(function* (): Effect.fn.Return< logWebSocketEvents, autoBootstrapProjectFromCwd, } = serverConfig; - const open = yield* DesktopLauncher; - const availableEditors = yield* open.getAvailableEditors.pipe( + const desktopLauncher = yield* DesktopLauncher; + const availableEditors = yield* desktopLauncher.getAvailableEditors.pipe( Effect.mapError((cause) => new ServerLifecycleError({ operation: "availableEditors", cause })), ); @@ -747,7 +747,7 @@ export const createServer = Effect.fn(function* (): Effect.fn.Return< case WS_METHODS.shellOpenInEditor: { const body = stripRequestTag(request.body); - return yield* open.openInEditor(body); + return yield* desktopLauncher.openInEditor(body); } case WS_METHODS.gitStatus: {