Skip to content

Commit

Permalink
fix(@angular/cli): replace os.version with os.release.
Browse files Browse the repository at this point in the history
This is more user friendly.

(cherry picked from commit 522463c)
  • Loading branch information
alan-agius4 authored and clydin committed Feb 14, 2023
1 parent 3d1f48f commit c787cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/cli/src/analytics/analytics-collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class AnalyticsCollector {
[RequestParameter.SessionId]: randomUUID(),
[RequestParameter.UserAgentArchitecture]: os.arch(),
[RequestParameter.UserAgentPlatform]: os.platform(),
[RequestParameter.UserAgentPlatformVersion]: os.version(),
[RequestParameter.UserAgentPlatformVersion]: os.release(),
[RequestParameter.SessionEngaged]: 1,
};

Expand Down

0 comments on commit c787cc7

Please sign in to comment.