1 parent 4210513 commit 79daea0Copy full SHA for 79daea0
1 file changed
src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs
@@ -170,11 +170,6 @@ protected override void ProcessRecord()
170
// Expected if the host is not interactive, or doesn't have Foreground / Background
171
// colours.
172
}
173
- catch (System.PlatformNotSupportedException)
174
- {
175
- // TODO:PSL Support setting these colors. Expected
176
- // exception on non-windows CoreCLR for now.
177
- }
178
179
this.WriteInformation(informationMessage, new string[] { "PSHOST" });
180
this.Host.UI.TranscribeResult(result);
0 commit comments