Skip to content

Commit de5b4c8

Browse files
committed
Fixed stack overflow when printing
1 parent 1ff0da8 commit de5b4c8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/StackAdmin/Azs.AzureBridge.Admin/Module/Azs.AzureBridge.Admin/Generated.PowerShell.Commands/FormatFiles/Azs.AzureBridge.Admin.Type.ps1xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
<ScriptMethod>
2424
<Name>ToString</Name>
2525
<Script>
26-
$this | fl | Out-String
26+
Write-Output "`n"
27+
Write-Output "Hero : $($this.Hero)`n"
28+
Write-Output "Large : $($this.Large)`n"
29+
Write-Output "Medium : $($this.Medium)`n"
30+
Write-Output "Small : $($this.Small)`n"
2731
</Script>
2832
</ScriptMethod>
2933
</Members>
@@ -34,10 +38,10 @@
3438
<ScriptMethod>
3539
<Name>ToString</Name>
3640
<Script>
37-
$this | fl | Out-String
41+
$this.Version
3842
</Script>
3943
</ScriptMethod>
4044
</Members>
4145
</Type>
42-
46+
4347
</Types>

0 commit comments

Comments
 (0)