@@ -37,7 +37,7 @@ export class RazorLanguageServerClient implements vscode.Disposable {
37
37
private readonly vscodeType : typeof vscode ,
38
38
private readonly languageServerDir : string ,
39
39
private readonly razorTelemetryReporter : RazorTelemetryReporter ,
40
- private readonly isCSharpDevKitActivated : boolean ,
40
+ // private readonly isCSharpDevKitActivated: boolean,
41
41
private readonly env : NodeJS . ProcessEnv ,
42
42
private readonly dotnetExecutablePath : string ,
43
43
private readonly logger : RazorLogger
@@ -305,13 +305,13 @@ export class RazorLanguageServerClient implements vscode.Disposable {
305
305
306
306
// VS code will have a default session id when running under tests. Since we may still
307
307
// report telemetry, we need to give a unique session id instead of the default value.
308
- function getSessionId ( ) : string {
309
- const sessionId = vscode . env . sessionId ;
308
+ // function getSessionId(): string {
309
+ // const sessionId = vscode.env.sessionId;
310
310
311
- // 'somevalue.sessionid' is the test session id provided by vs code
312
- if ( sessionId . toLowerCase ( ) === 'somevalue.sessionid' ) {
313
- return randomUUID ( ) ;
314
- }
311
+ // // 'somevalue.sessionid' is the test session id provided by vs code
312
+ // if (sessionId.toLowerCase() === 'somevalue.sessionid') {
313
+ // return randomUUID();
314
+ // }
315
315
316
- return sessionId ;
317
- }
316
+ // return sessionId;
317
+ // }
0 commit comments