Compare commits
No commits in common. "7386b6de0550de0427ea0067eb457c5eb9159edf" and "05c9a7aea7a0e75d4a2a24cc251f59bb2aa4c1f0" have entirely different histories.
7386b6de05
...
05c9a7aea7
|
@ -82,7 +82,7 @@ export function createHash(data) {
|
|||
}
|
||||
export async function setupStream(stream) {
|
||||
const existing = stream[RPC_PROTOCOL_SYMBOL];
|
||||
if (existing) {
|
||||
if (!existing) {
|
||||
await existing._channel.ready;
|
||||
return existing;
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ export function createHash(data: string): Buffer {
|
|||
|
||||
export async function setupStream(stream: any) {
|
||||
const existing = stream[RPC_PROTOCOL_SYMBOL];
|
||||
if (existing) {
|
||||
if (!existing) {
|
||||
await existing._channel.ready;
|
||||
return existing;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue