Skip to content

Commit bccf01a

Browse files
committed
fix: lint
1 parent b369686 commit bccf01a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmap/commands.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ReadPreference } from '../read_preference';
22
import * as BSON from '../bson';
3-
import { databaseNamespace, emitWarningOnce } from '../utils';
3+
import { databaseNamespace } from '../utils';
44
import { OP_QUERY, OP_GETMORE, OP_KILL_CURSORS, OP_MSG } from './wire_protocol/constants';
55
import type { Long, Document, BSONSerializeOptions } from '../bson';
66
import type { ClientSession } from '../sessions';
@@ -834,7 +834,7 @@ export class BinMsg {
834834
this.index += bsonSize;
835835
} else if (payloadType === 1) {
836836
// It was decided that no driver makes use of payload type 1
837-
throw new MongoError('OP_MSG Payload Type 1 detected unsupported protocol')
837+
throw new MongoError('OP_MSG Payload Type 1 detected unsupported protocol');
838838
}
839839
}
840840

0 commit comments

Comments
 (0)