Skip to content

Commit b0eeb50

Browse files
authored
Comment out global.json telemetry to prevent errant stdout writing (#2430)
1 parent 0bdbc7a commit b0eeb50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/sdk/src/Cli/dotnet/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ internal static int ProcessArgs(string[] args, TimeSpan startupTime)
237237
// Get the global.json state to report in telemetry along with this command invocation.
238238
// We don't care about the actual SDK resolution, just the global.json information,
239239
// so just pass empty string as executable directory for resolution.
240-
NativeWrapper.SdkResolutionResult result = NativeWrapper.NETCoreSdkResolverNativeWrapper.ResolveSdk(string.Empty, Environment.CurrentDirectory);
241-
globalJsonState = result.GlobalJsonState;
240+
// NativeWrapper.SdkResolutionResult result = NativeWrapper.NETCoreSdkResolverNativeWrapper.ResolveSdk(string.Empty, Environment.CurrentDirectory);
241+
// globalJsonState = result.GlobalJsonState;
242242
}
243243

244244
TelemetryEventEntry.SendFiltered(Tuple.Create(parseResult, performanceData, globalJsonState));

0 commit comments

Comments
 (0)