Removed unneeded code that forces ARM platforms to run PowerShell in CL mode (#7046)

This commit is contained in:
Paul Higinbotham
2018-06-13 12:01:32 -07:00
committed by Travis Plunk
parent ce3cb68551
commit 3eec0c42b2
@@ -338,11 +338,6 @@ namespace System.Management.Automation.Security
private static SystemEnforcementMode GetDebugLockdownPolicy(string path)
{
if (PsUtils.IsRunningOnProcessorArchitectureARM())
{
return SystemEnforcementMode.Enforce;
}
s_wasSystemPolicyDebugPolicy = true;
// Support fall-back debug hook for path exclusions on non-WOA platforms