-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Output format misalignment #6766
Copy link
Copy link
Closed
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-DuplicateThe issue is a duplicate.The issue is a duplicate.WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Metadata
Metadata
Assignees
Labels
Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-DuplicateThe issue is a duplicate.The issue is a duplicate.WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
There is misalignment in pwsh-bash cloudshell. The version used is v6.1.0-preview.2.
I did initial investigation, it 's likely the issue got introduced by the PR:
#6504
From my vscode, you can see col =0, and lastColWithContent[row]) = 0, so Line 357 gets executed. As a result, "+ " gets TrimEnd().
Line 303 did not get called.
Steps to reproduce
So far I only see the issue on cloudshell. I am not sure other simple way to repro it.
cd to Azure: and dir
PS Azure:\AutomationTeam> dir
Expected behavior
Actual behavior
Environment data