From bf905966de6e4433ae9f69cb661941b0dd46381e Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Tue, 12 Jul 2016 14:38:19 -0700 Subject: [PATCH] Fixed comments and white space issues --- .../engine/SecurityManagerBase.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/System.Management.Automation/engine/SecurityManagerBase.cs b/src/System.Management.Automation/engine/SecurityManagerBase.cs index 548bd737be..2fbf8d9dc9 100644 --- a/src/System.Management.Automation/engine/SecurityManagerBase.cs +++ b/src/System.Management.Automation/engine/SecurityManagerBase.cs @@ -87,12 +87,12 @@ namespace System.Management.Automation CommandOrigin origin, PSHost host) { -#if LINUX +#if LINUX // TODO:PSL this is a workaround since the exception below // hides the internal issue of what's going on in terms of // execution policy. - // On non-Windows platform Set/Get-ExecutionPolicy return - // Operation is not supported on this platform. + // On non-Windows platform Set/Get-ExecutionPolicy throw + // PlatformNotSupportedException return; #else @@ -160,7 +160,7 @@ namespace System.Management.Automation throw new PSSecurityException(AuthorizationManagerBase.AuthorizationManagerDefaultFailureReason); } } -#endif +#endif } ///