Skip to content

Commit cc92766

Browse files
committed
chore: change the break to a return to make it easier to follow
1 parent a33abb3 commit cc92766

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/common/connectionManager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,12 @@ export class ConnectionManager extends EventEmitter<ConnectionManagerEvents> {
171171
if (searchParams.get("authSource") === "$external") {
172172
return "ldap";
173173
}
174-
break;
174+
return "scram";
175175
// default should catch also null, but eslint complains
176176
// about it.
177177
case null:
178178
default:
179179
return "scram";
180180
}
181-
return "scram";
182181
}
183182
}

0 commit comments

Comments
 (0)