File tree 1 file changed +6
-4
lines changed
packages/angular/cli/src/commands/analytics/settings
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,12 @@ abstract class AnalyticsSettingModule
42
42
abstract override run ( { global } : Options < AnalyticsCommandArgs > ) : Promise < void > ;
43
43
}
44
44
45
- export class AnalyticsOffModule
45
+ export class AnalyticsDisableModule
46
46
extends AnalyticsSettingModule
47
47
implements CommandModuleImplementation < AnalyticsCommandArgs >
48
48
{
49
- command = 'off' ;
49
+ command = 'disable' ;
50
+ aliases = 'off' ;
50
51
describe = 'Disables analytics gathering and reporting for the user.' ;
51
52
52
53
async run ( { global } : Options < AnalyticsCommandArgs > ) : Promise < void > {
@@ -55,11 +56,12 @@ export class AnalyticsOffModule
55
56
}
56
57
}
57
58
58
- export class AnalyticsOnModule
59
+ export class AnalyticsEnableModule
59
60
extends AnalyticsSettingModule
60
61
implements CommandModuleImplementation < AnalyticsCommandArgs >
61
62
{
62
- command = 'on' ;
63
+ command = 'enable' ;
64
+ aliases = 'on' ;
63
65
describe = 'Enables analytics gathering and reporting for the user.' ;
64
66
async run ( { global } : Options < AnalyticsCommandArgs > ) : Promise < void > {
65
67
setAnalyticsConfig ( global , true ) ;
You can’t perform that action at this time.
0 commit comments