Skip to content

Commit

Permalink
chore;
Browse files Browse the repository at this point in the history
  • Loading branch information
duanlv committed Jan 30, 2024
1 parent 3323082 commit 0fe1bb4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ export abstract class AbstractClient {
}

protected async decompress(data: Buffer): Promise<Buffer> {
assert(!!this.compressType, 'compress is not enabled');

return new Promise((resolve, reject) => {
inflate(data, (err, result) => {
if (err) {
Expand Down

0 comments on commit 0fe1bb4

Please sign in to comment.