chore: disable new lint rule

This commit is contained in:
Simon Chan 2023-09-21 12:09:02 +08:00
parent aca7df46b7
commit 9c2a069658
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
5 changed files with 17 additions and 13 deletions

View file

@ -96,7 +96,7 @@ export class AdbDaemonSocketController
await this.#dispatcher.sendPacket(
AdbCommand.Close,
this.localId,
this.remoteId
this.remoteId,
);
// Don't `dispose` here, we need to wait for `CLSE` response packet.
@ -118,8 +118,8 @@ export class AdbDaemonSocketController
size(chunk) {
return chunk.byteLength;
},
}
)
},
),
);
this.writable = pipeFrom(
@ -132,13 +132,13 @@ export class AdbDaemonSocketController
AdbCommand.Write,
this.localId,
this.remoteId,
chunk
chunk,
);
await this.#writePromise.promise;
},
})
}),
),
new DistributionStream(this.#dispatcher.options.maxPayloadSize)
new DistributionStream(this.#dispatcher.options.maxPayloadSize),
);
this.#socket = new AdbDaemonSocket(this);