@@ -5,7 +5,6 @@ import * as vscode from "vscode";
5
5
import { ColorizedChannel } from "./common/colorizedChannel" ;
6
6
import { Constants } from "./common/constants" ;
7
7
import { EventType } from "./common/eventType" ;
8
- import { NSAT } from "./common/nsat" ;
9
8
import { ProcessError } from "./common/processError" ;
10
9
import { TelemetryClient } from "./common/telemetryClient" ;
11
10
import { TelemetryContext } from "./common/telemetryContext" ;
@@ -20,8 +19,6 @@ function initCommand(
20
19
context : vscode . ExtensionContext ,
21
20
telemetryClient : TelemetryClient ,
22
21
outputChannel : ColorizedChannel ,
23
- nsat : NSAT ,
24
- enableSurvey : boolean ,
25
22
event : EventType ,
26
23
// eslint-disable-next-line @typescript-eslint/no-explicit-any
27
24
callback : ( ...args : any [ ] ) => Promise < any >
@@ -50,9 +47,6 @@ function initCommand(
50
47
telemetryContext . end ( ) ;
51
48
telemetryClient . sendEvent ( event , telemetryContext ) ;
52
49
outputChannel . show ( ) ;
53
- if ( enableSurvey ) {
54
- nsat . takeSurvey ( context ) ;
55
- }
56
50
}
57
51
} )
58
52
) ;
@@ -61,7 +55,6 @@ function initCommand(
61
55
export function activate ( context : vscode . ExtensionContext ) : void {
62
56
const outputChannel = new ColorizedChannel ( Constants . CHANNEL_NAME ) ;
63
57
const telemetryClient = new TelemetryClient ( context ) ;
64
- const nsat = new NSAT ( Constants . NSAT_SURVEY_URL , telemetryClient ) ;
65
58
const deviceModelManager = new DeviceModelManager ( context , outputChannel ) ;
66
59
67
60
telemetryClient . sendEvent ( Constants . EXTENSION_ACTIVATED_MSG ) ;
@@ -107,8 +100,6 @@ export function activate(context: vscode.ExtensionContext): void {
107
100
context ,
108
101
telemetryClient ,
109
102
outputChannel ,
110
- nsat ,
111
- true ,
112
103
EventType . CreateInterface ,
113
104
async ( ) : Promise < void > => {
114
105
return deviceModelManager . createModel ( ModelType . Interface ) ;
0 commit comments