Skip to content

Commit

Permalink
remove extra newline
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-khare-mongoDB committed Sep 6, 2024
1 parent 0fc237a commit 7ab20db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmap/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,8 @@ 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 7ab20db

Please sign in to comment.