File tree Expand file tree Collapse file tree 1 file changed +0
-1
lines changed
src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common Expand file tree Collapse file tree 1 file changed +0
-1
lines changed Original file line number Diff line number Diff line change @@ -395,7 +395,6 @@ public virtual Collection<PSObject> RunPowerShellTest(params string[] scripts)
395
395
private void SetupPowerShellModules ( System . Management . Automation . PowerShell powershell )
396
396
{
397
397
powershell . AddScript ( "$error.clear()" ) ;
398
- powershell . AddScript ( "Set-ExecutionPolicy Bypass -Scope Process" ) ;
399
398
powershell . AddScript ( string . Format ( "Write-Debug \" current directory: {0}\" " , AppDomain . CurrentDomain . BaseDirectory ) ) ;
400
399
powershell . AddScript ( string . Format ( "Write-Debug \" current executing assembly: {0}\" " , Path . GetDirectoryName ( Assembly . GetExecutingAssembly ( ) . Location ) ) ) ;
401
400
powershell . AddScript ( string . Format ( "cd \" {0}\" " , AppDomain . CurrentDomain . BaseDirectory ) ) ;
You can’t perform that action at this time.
0 commit comments