mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Remove deprecated catch
These colors can be set now.
This commit is contained in:
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);
|
||||||
|
|||||||
Reference in new issue
Block a user