diff --git a/src/transport/ipc.ts b/src/transport/ipc.ts index 3a3e7ff..d18a267 100644 --- a/src/transport/ipc.ts +++ b/src/transport/ipc.ts @@ -95,8 +95,7 @@ export class IPCTransport extends Transport { return; } else if (process.platform === 'linux') { socket = await createSocket(formatFunc(i, true)).catch(() => null); - if (socket) resolve(socket); - return; + if (socket) { resolve(socket); return; } } }