Skip to content

Commit a1a70ae

Browse files
committed
refactor(desktop): unexport auto-attach helpers
1 parent 63907cc commit a1a70ae

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎apps/desktop/src/backend/DesktopAutoAttach.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const PROBE_TIMEOUT = Duration.millis(1500);
1818
const PROBE_RETRY_INTERVAL = Duration.millis(500);
1919
const MAX_PROBE_RETRIES = 3;
2020

21-
export const isProcessAlive = (pid: number): boolean => {
21+
const isProcessAlive = (pid: number): boolean => {
2222
if (pid <= 0) {
2323
return false;
2424
}
@@ -39,9 +39,7 @@ const decodePersistedState = Schema.decodeUnknownOption(
3939
Schema.fromJsonString(PersistedServerRuntimeState),
4040
);
4141

42-
export const probeServerReady = Effect.fn("desktop.autoAttach.probeServerReady")(function* (
43-
origin: URL,
44-
) {
42+
const probeServerReady = Effect.fn("desktop.autoAttach.probeServerReady")(function* (origin: URL) {
4543
const client = yield* HttpClient.HttpClient;
4644
const probeUrl = new URL(WELL_KNOWN_ENVIRONMENT_PATH, origin).toString();
4745
const request = HttpClientRequest.get(probeUrl);

0 commit comments

Comments
 (0)