-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Description
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.
- pwsh preview-2
- Install-module azurerm.netcore
- install-module ships
- install-module Azurepsdrive
- ipmo ships
- AzureRM.Profile.NetCore\Login-AzureRMAccount
- ipmo AzurePSDrive
- New-psdrive -name Azure -psprovider SHiPS -root 'Azurepsdrive#Azure'
cd to Azure: and dir
PS Azure:\AutomationTeam> dir
Expected behavior
Actual behavior
Environment data
> $PSVersionTable
v6.1.0-preview.2
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


