This commit is contained in:
Julius Marminge committed 2026-03-31 14:31:01 -07:00
1 parent 9b3394c1d6
commit 72c3478719
1 file changed
+3 -3
+3 -3
View File
@@ -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: {