Skip to content

Commit 6f85e9e

Browse files
mvvsubbuRajat Agrawal
authored andcommitted
Updated windows machine file copy
1 parent 33af3f6 commit 6f85e9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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" -ErrorAction Ignore
35+
Import-Module "Microsoft.TeamFoundation.DistributedTask.Task.Deployment.Internal"
3636

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

Tasks/WindowsMachineFileCopy/WindowsMachineFileCopy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Write-Verbose "cleanTargetBeforeCopy = $cleanTargetBeforeCopy"
2828
import-module "Microsoft.TeamFoundation.DistributedTask.Task.Common"
2929
import-module "Microsoft.TeamFoundation.DistributedTask.Task.Internal"
3030
import-module "Microsoft.TeamFoundation.DistributedTask.Task.DevTestLabs"
31-
import-module "Microsoft.TeamFoundation.DistributedTask.Task.Deployment.Internal"
31+
import-module "Microsoft.TeamFoundation.DistributedTask.Task.Deployment.Internal" -ErrorAction Ignore
3232

3333
# keep machineNames parameter name unchanged due to back compatibility
3434
$machineFilter = $machineNames

0 commit comments

Comments
 (0)