1
1
import * as os from 'os' ;
2
2
import { Version } from '../common/version' ;
3
3
import { GUAService } from './guaService' ;
4
- import { TelerikAnalyticsService } from './telerikAnalyticsService' ;
5
4
import { AnalyticsBaseInfo , OperatingSystem } from './analyticsBaseInfo' ;
6
5
import { Services } from '../services/extensionHostServices' ;
7
6
import * as utils from '../common/utilities' ;
@@ -15,7 +14,6 @@ export class AnalyticsService {
15
14
private _globalState : vscode . Memento ;
16
15
private _baseInfo : AnalyticsBaseInfo ;
17
16
private _gua : GUAService ;
18
- private _ta : TelerikAnalyticsService ;
19
17
private _analyticsEnabled : boolean ;
20
18
private disposables : vscode . Disposable [ ] = [ ] ;
21
19
@@ -53,24 +51,20 @@ export class AnalyticsService {
53
51
public launchDebugger ( request : string , platform : string ) : Promise < any > {
54
52
if ( this . _analyticsEnabled ) {
55
53
try {
56
- return Promise . all ( [
57
- this . _gua . launchDebugger ( request , platform ) ,
58
- this . _ta . launchDebugger ( request , platform )
59
- ] ) ;
54
+ return this . _gua . launchDebugger ( request , platform ) ;
60
55
} catch ( e ) { }
61
56
}
57
+
62
58
return Promise . resolve ( ) ;
63
59
}
64
60
65
61
public runRunCommand ( platform : string ) : Promise < any > {
66
62
if ( this . _analyticsEnabled ) {
67
63
try {
68
- return Promise . all ( [
69
- this . _gua . runRunCommand ( platform ) ,
70
- this . _ta . runRunCommand ( platform )
71
- ] ) ;
64
+ return this . _gua . runRunCommand ( platform ) ;
72
65
} catch ( e ) { }
73
66
}
67
+
74
68
return Promise . resolve ( ) ;
75
69
}
76
70
@@ -113,7 +107,6 @@ export class AnalyticsService {
113
107
114
108
if ( this . _analyticsEnabled ) {
115
109
this . _gua = this . _gua || new GUAService ( 'UA-111455-29' , this . _baseInfo ) ;
116
- this . _ta = this . _ta || new TelerikAnalyticsService ( 'b8b2e51f188f43e9b0dfb899f7b71cc6' , this . _baseInfo ) ;
117
110
}
118
111
}
119
112
}
0 commit comments