Skip to content

Commit 0d00e0e

Browse files
authored
Update src/cmap/connection.ts
1 parent dd98b50 commit 0d00e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmap/connection.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ function write(
681681
operationDescription.started = now();
682682
operationDescription.cb = (err, reply) => {
683683
// Command monitoring spec states that if ok is 1, then we must always emit
684-
// a command suceeded event, even if there's and error. Write concern errors
684+
// a command suceeded event, even if there's an error. Write concern errors
685685
// will have an ok: 1 in their reply.
686686
if (err && reply?.ok !== 1) {
687687
conn.emit(

0 commit comments

Comments
 (0)