mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
26 lines
1.3 KiB
Diff
26 lines
1.3 KiB
Diff
From f4cd793116461ec3794799e89d0b213516c94868 Mon Sep 17 00:00:00 2001
|
|
From: Antoine Martin <dev@ayakael.net>
|
|
Date: Fri, 21 Jan 2022 19:22:34 +0000
|
|
Subject: [PATCH 1/1] Optouts of telemetry
|
|
|
|
Optouts of telemetry gathering
|
|
---
|
|
src/Cli/dotnet/Program.cs | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/Cli/dotnet/Program.cs b/src/Cli/dotnet/Program.cs
|
|
index f8114728c0..26982c0f6c 100644
|
|
--- a/src/Cli/dotnet/Program.cs
|
|
+++ b/src/Cli/dotnet/Program.cs
|
|
@@ -187,7 +187,7 @@ internal static int ProcessArgs(string[] args, TimeSpan startupTime, ITelemetry
|
|
bool generateAspNetCertificate =
|
|
environmentProvider.GetEnvironmentVariableAsBool("DOTNET_GENERATE_ASPNET_CERTIFICATE", defaultValue: true);
|
|
bool telemetryOptout =
|
|
- environmentProvider.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", defaultValue: false);
|
|
+ environmentProvider.GetEnvironmentVariableAsBool("DOTNET_CLI_TELEMETRY_OPTOUT", defaultValue: true);
|
|
bool addGlobalToolsToPath =
|
|
environmentProvider.GetEnvironmentVariableAsBool("DOTNET_ADD_GLOBAL_TOOLS_TO_PATH", defaultValue: true);
|
|
bool nologo =
|
|
--
|
|
2.34.1
|
|
|