Skip to content

Commit 5153920

Browse files
authored
remove execution policy
1 parent 092ff9c commit 5153920

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ public virtual Collection<PSObject> RunPowerShellTest(params string[] scripts)
395395
private void SetupPowerShellModules(System.Management.Automation.PowerShell powershell)
396396
{
397397
powershell.AddScript("$error.clear()");
398-
powershell.AddScript("Set-ExecutionPolicy Bypass -Scope Process");
399398
powershell.AddScript(string.Format("Write-Debug \"current directory: {0}\"", AppDomain.CurrentDomain.BaseDirectory));
400399
powershell.AddScript(string.Format("Write-Debug \"current executing assembly: {0}\"", Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)));
401400
powershell.AddScript(string.Format("cd \"{0}\"", AppDomain.CurrentDomain.BaseDirectory));

0 commit comments

Comments
 (0)