Skip to content

Commit

Permalink
feat: Implemented discordjs/RPC#152
Browse files Browse the repository at this point in the history
  • Loading branch information
xhayper committed Jul 29, 2022
1 parent 28e4273 commit ac3969d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/transport/ipc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
}
}

Expand Down

0 comments on commit ac3969d

Please sign in to comment.