Skip to content

Commit d892ccc

Browse files
lint fix
remove extra newline remove extra newline
1 parent 86e1a91 commit d892ccc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/cmap/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,8 @@ export class Connection extends TypedEventEmitter<ConnectionEvents> {
633633
});
634634

635635
const buffer = Buffer.concat(await finalCommand.toBin());
636-
if (this.socket.write(buffer)) return;
637636

637+
if (this.socket.write(buffer)) return;
638638
return await once(this.socket, 'drain');
639639
}
640640

src/write_concern.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ interface CommandWriteConcernOptions {
5858
* @see https://www.mongodb.com/docs/manual/reference/write-concern/
5959
*/
6060
export class WriteConcern {
61-
/**
62-
* Request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags.
63-
* If w is 0 and is set on the command in the request, the server will not send a response.
64-
*/
61+
/**
62+
* Request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags.
63+
* If w is 0 and is set on a write operation, the server will not send a response.
64+
*/
6565
readonly w?: W;
6666
/** Request acknowledgment that the write operation has been written to the on-disk journal */
6767
readonly journal?: boolean;

0 commit comments

Comments
 (0)