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 7ab20db commit 9f58d35
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,7 +633,7 @@ 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 9f58d35

Please sign in to comment.