Skip to content

Commit 33af3f6

Browse files
mvvsubbuRajat Agrawal
authored andcommitted
Adding error action ignore to be safe
1 parent ee878c7 commit 33af3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tasks/PowerShellOnTargetMachines/PowerShellOnTargetMachines.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Write-Verbose "sessionVariables = $sessionVariables"
3232
import-module "Microsoft.TeamFoundation.DistributedTask.Task.Internal"
3333
import-module "Microsoft.TeamFoundation.DistributedTask.Task.Common"
3434
import-module "Microsoft.TeamFoundation.DistributedTask.Task.DevTestLabs"
35-
Import-Module "Microsoft.TeamFoundation.DistributedTask.Task.Deployment.Internal"
35+
Import-Module "Microsoft.TeamFoundation.DistributedTask.Task.Deployment.Internal" -ErrorAction Ignore
3636

3737
# keep machineNames parameter name unchanged due to back compatibility
3838
$machineFilter = $machineNames

0 commit comments

Comments
 (0)