From 79daea01329eb6622d93f7d5e48dd066b7c6d9b7 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Sun, 24 Jul 2016 16:16:04 -0700 Subject: [PATCH] Remove deprecated catch These colors can be set now. --- .../commands/utility/WriteConsoleCmdlet.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs index 1b9283221..23a7754fe 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs +++ b/src/Microsoft.PowerShell.Commands.Utility/commands/utility/WriteConsoleCmdlet.cs @@ -170,11 +170,6 @@ namespace Microsoft.PowerShell.Commands // Expected if the host is not interactive, or doesn't have Foreground / Background // colours. } - catch (System.PlatformNotSupportedException) - { - // TODO:PSL Support setting these colors. Expected - // exception on non-windows CoreCLR for now. - } this.WriteInformation(informationMessage, new string[] { "PSHOST" }); this.Host.UI.TranscribeResult(result);