From 8374a5c97dbdf2367f9db3a6cde74ca3df14d224 Mon Sep 17 00:00:00 2001 From: Brandon Olin Date: Fri, 10 Aug 2018 10:13:05 -0700 Subject: [PATCH] Remove one unneeded verbose output from 'ConvertTo-Json' (#7487) --- .../commands/utility/WebCmdlet/ConvertToJsonCommand.cs | 2 -- .../resources/UtilityCommonStrings.resx | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs index b692a8732..1adb1d0d4 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WebCmdlet/ConvertToJsonCommand.cs @@ -187,8 +187,6 @@ namespace Microsoft.PowerShell.Commands else { TypeInfo t = obj.GetType().GetTypeInfo(); - WriteVerbose(StringUtil.Format(UtilityCommonStrings.ConvertToJsonProcessValueVerboseMessage, t.Name, depth)); - if (t.IsPrimitive) { diff --git a/src/Microsoft.PowerShell.Commands.Utility/resources/UtilityCommonStrings.resx b/src/Microsoft.PowerShell.Commands.Utility/resources/UtilityCommonStrings.resx index d11d22cfc..f8e5623d8 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/resources/UtilityCommonStrings.resx +++ b/src/Microsoft.PowerShell.Commands.Utility/resources/UtilityCommonStrings.resx @@ -174,7 +174,4 @@ '{0}' is not supported in this system. - - Processing object of type [{0}] at depth {1} -