File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
packages/angular/cli/src/commands/analytics/settings Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,12 @@ abstract class AnalyticsSettingModule
4242 abstract override run ( { global } : Options < AnalyticsCommandArgs > ) : Promise < void > ;
4343}
4444
45- export class AnalyticsOffModule
45+ export class AnalyticsDisableModule
4646 extends AnalyticsSettingModule
4747 implements CommandModuleImplementation < AnalyticsCommandArgs >
4848{
49- command = 'off' ;
49+ command = 'disable' ;
50+ aliases = 'off' ;
5051 describe = 'Disables analytics gathering and reporting for the user.' ;
5152
5253 async run ( { global } : Options < AnalyticsCommandArgs > ) : Promise < void > {
@@ -55,11 +56,12 @@ export class AnalyticsOffModule
5556 }
5657}
5758
58- export class AnalyticsOnModule
59+ export class AnalyticsEnableModule
5960 extends AnalyticsSettingModule
6061 implements CommandModuleImplementation < AnalyticsCommandArgs >
6162{
62- command = 'on' ;
63+ command = 'enable' ;
64+ aliases = 'on' ;
6365 describe = 'Enables analytics gathering and reporting for the user.' ;
6466 async run ( { global } : Options < AnalyticsCommandArgs > ) : Promise < void > {
6567 setAnalyticsConfig ( global , true ) ;
You can’t perform that action at this time.
0 commit comments