feat(bin): support bugreport/bugreportz

fix #361
This commit is contained in:
Simon Chan 2022-04-05 15:26:15 +08:00
parent d96b4d2b8c
commit d1e3c771c9
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
19 changed files with 367 additions and 172 deletions

View file

@ -237,7 +237,7 @@ export class Adb {
const gatherStream = new GatherStringStream();
await socket.readable
.pipeThrough(new DecodeUtf8Stream())
.pipeTo(gatherStream.writable);
.pipeTo(gatherStream);
return gatherStream.result;
}