Skip to content

Commit

Permalink
lont fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-khare-mongoDB committed Sep 6, 2024
1 parent d257dde commit fb78f1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmap/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,6 @@ export class Connection extends TypedEventEmitter<ConnectionEvents> {
});

const buffer = Buffer.concat(await finalCommand.toBin());

if (this.socket.write(buffer)) return;

return await once(this.socket, 'drain');
Expand Down

0 comments on commit fb78f1d

Please sign in to comment.