From 9f8d643f70162eaa381797b76cf7b323d7ccac4f Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Thu, 27 Dec 2018 16:10:59 +0900 Subject: [PATCH] Fix mistake on deserialization (#8502) Replace this.hideHeader with this.repeatHeader --- .../FormatAndOutput/common/FormattingObjectsDeserializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.Management.Automation/FormatAndOutput/common/FormattingObjectsDeserializer.cs b/src/System.Management.Automation/FormatAndOutput/common/FormattingObjectsDeserializer.cs index adc51faff3..fb8506a699 100644 --- a/src/System.Management.Automation/FormatAndOutput/common/FormattingObjectsDeserializer.cs +++ b/src/System.Management.Automation/FormatAndOutput/common/FormattingObjectsDeserializer.cs @@ -587,7 +587,7 @@ namespace Microsoft.PowerShell.Commands.Internal.Format { base.Deserialize(so, deserializer); this.hideHeader = deserializer.DeserializeBoolMemberVariable(so, "hideHeader"); - this.hideHeader = deserializer.DeserializeBoolMemberVariable(so, "repeatHeader"); + this.repeatHeader = deserializer.DeserializeBoolMemberVariable(so, "repeatHeader"); FormatInfoDataListDeserializer.ReadList(so, "tableColumnInfoList", this.tableColumnInfoList, deserializer); } }