Remove deprecated catch

These colors can be set now.
This commit is contained in:
Andrew Schwartzmeyer committed 2016-07-24 16:20:46 -07:00
1 parent 42105138a7
commit 79daea0132
1 file changed
-5
@@ -170,11 +170,6 @@ namespace Microsoft.PowerShell.Commands
// Expected if the host is not interactive, or doesn't have Foreground / Background // Expected if the host is not interactive, or doesn't have Foreground / Background
// colours. // 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.WriteInformation(informationMessage, new string[] { "PSHOST" });
this.Host.UI.TranscribeResult(result); this.Host.UI.TranscribeResult(result);