mirror of
https://github.com/Microsoft/vscode
synced 2024-09-20 19:18:03 +00:00
check for aiKey
This commit is contained in:
parent
ac88c617f6
commit
086102dd02
|
@ -562,7 +562,7 @@ export class DebugService implements debug.IDebugService {
|
|||
return telemetryInfo;
|
||||
}).then(data => {
|
||||
const { aiKey, type } = this.configurationManager.adapter;
|
||||
this.telemetryAdapter = createAIAdapter(aiKey, type, data);
|
||||
this.telemetryAdapter = aiKey ? createAIAdapter(aiKey, type, data) : null;
|
||||
|
||||
this.session = this.instantiationService.createInstance(session.RawDebugSession, configuration.debugServer, this.configurationManager.adapter, this.telemetryAdapter);
|
||||
this.registerSessionListeners();
|
||||
|
|
Loading…
Reference in a new issue