-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Description
Unwanted empty lines in output of errors with $ErrorView=ConciseView
Steps to reproduce
# make sure it's the new default ConciseView
$ErrorView = 'ConciseView'
try {
throw 'Oops!'
}
catch {
$_
}Expected behavior
The error output has no unexpected and unwanted empty lines:
Exception: C:\tmp\_191217_122216\2.ps1
Line |
5 | throw 'Oops!'
| ^ Oops!
Actual behavior
The error output has an unexpected and unwanted empty line:
Exception: C:\tmp\_191217_122216\2.ps1
Line |
5 | throw 'Oops!'
| ^ Oops!
Environment data
Name Value
---- -----
PSVersion 7.0.0-rc.1
PSEdition Core
GitCommitId 7.0.0-rc.1
OS Microsoft Windows 6.3.9600
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-FixedThe issue is fixed.The issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime