Skip to content

Commit bb06133

Browse files
vexx32kilasuit
authored andcommitted
Format-Hex: Improve mixed-collection piped input and piped streams of input (PowerShell#8674)
1 parent 3dda09b commit bb06133

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/System.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,6 @@ internal static IEnumerable<ExtendedTypeDefinition> GetFormatData()
1818
.EndEntry()
1919
.EndControl();
2020

21-
var ByteCollection_GroupHeader = CustomControl.Create()
22-
.StartEntry()
23-
.StartFrame()
24-
.AddScriptBlockExpressionBinding(@"
25-
$header = "" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F""
26-
if($_.Path) { $header = "" "" + [Microsoft.PowerShell.Commands.UtilityResources]::FormatHexPathPrefix + $_.Path + ""`r`n`r`n"" + $header }
27-
28-
$header
29-
")
30-
.EndFrame()
31-
.EndEntry()
32-
.EndControl();
33-
3421
var sharedControls = new CustomControl[] {
3522
AvailableModules_GroupingFormat
3623
};

0 commit comments

Comments
 (0)