Skip to content

Commit b330426

Browse files
feat: update setWebSocketUrl method to require a string parameter
1 parent 716271e commit b330426

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vscode-extension/src/websocket.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ export class VSCodeWebSocketService implements WebSocketService {
5757
this.username = username;
5858
}
5959

60-
setWebSocketUrl(url: string | null): void {
61-
this.config.url = url || undefined;
60+
setWebSocketUrl(url: string): void {
61+
this.config.url = url;
6262
this.reconnectAttempts = 0;
6363
}
6464

0 commit comments

Comments
 (0)