@@ -3,11 +3,11 @@ import { AnalyticsService as SharedAnalyticsService } from '../../packages/secur
33
44/**
55 * VS Code Analytics Service
6- *
6+ *
77 * This is a thin wrapper around the shared CLI analytics service.
88 * It maintains the same public API as before to avoid breaking existing code,
99 * but delegates to the shared analytics service from the CLI package.
10- *
10+ *
1111 * The shared service is initialized with VS Code-specific context and metadata.
1212 */
1313
@@ -34,7 +34,9 @@ export class AnalyticsService {
3434 }
3535
3636 // Check user preference from VS Code settings
37- this . userEnabled = vscode . workspace . getConfiguration ( 'secureflow' ) . get ( 'analytics.enabled' , true ) ;
37+ this . userEnabled = vscode . workspace
38+ . getConfiguration ( 'secureflow' )
39+ . get ( 'analytics.enabled' , true ) ;
3840
3941 // Only initialize if user has analytics enabled
4042 if ( ! this . userEnabled ) {
@@ -43,7 +45,8 @@ export class AnalyticsService {
4345 }
4446
4547 const metadata = {
46- vscode_extension_version : vscode . extensions . getExtension ( 'secureflow' ) ?. packageJSON . version ,
48+ vscode_extension_version :
49+ vscode . extensions . getExtension ( 'secureflow' ) ?. packageJSON . version ,
4750 vscode_build_version : vscode . version
4851 } ;
4952
@@ -73,7 +76,8 @@ export class AnalyticsService {
7376
7477 const vsCodeProperties = {
7578 ...properties ,
76- vscode_extension_version : vscode . extensions . getExtension ( 'secureflow' ) ?. packageJSON . version ,
79+ vscode_extension_version :
80+ vscode . extensions . getExtension ( 'secureflow' ) ?. packageJSON . version ,
7781 vscode_build_version : vscode . version ,
7882 ai_model : vscode . workspace . getConfiguration ( 'secureflow' ) . get ( 'AIModel' )
7983 } ;
0 commit comments