This commit is contained in:
Derrick Hammer 2023-04-08 15:02:11 -04:00
parent 05c9a7aea7
commit 35c67e1c92
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ export function createHash(data: string): Buffer {
export async function setupStream(stream: any) { export async function setupStream(stream: any) {
const existing = stream[RPC_PROTOCOL_SYMBOL]; const existing = stream[RPC_PROTOCOL_SYMBOL];
if (!existing) { if (existing) {
await existing._channel.ready; await existing._channel.ready;
return existing; return existing;
} }