Skip to content

Commit 806382f

Browse files
committed
chore: fix linter errors
1 parent 06a7ea8 commit 806382f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/common/connectionManager.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ export class ConnectionManager extends EventEmitter<ConnectionManagerEvents> {
171171
return "ldap";
172172
}
173173
break;
174+
// default should catch also null, but eslint complains
175+
// about it.
176+
case null:
174177
default:
175178
return "scram";
176179
}

src/tools/mongodb/connect/connect.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { UserConfig } from "../../../common/config.js";
77
import { Telemetry } from "../../../telemetry/telemetry.js";
88
import { Session } from "../../../common/session.js";
99
import { Server } from "../../../server.js";
10-
import logger from "../../../common/logger.js";
1110

1211
const disconnectedSchema = z
1312
.object({

0 commit comments

Comments
 (0)