File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
TfsWitMigrator.Console/Chocolatey Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11try {
2- $sysDrive = $env: SystemDrive
3- $vstssyncmigrationpath = Join-Path - Path " \VSTSSyncMigration" - ChildPath Get-ToolsLocation
2+ Import-Module " $env: ChocolateyInstall \helpers\chocolateyInstaller.psm1" - Force;
3+ $toolsLoc = Get-ToolsLocation
4+ $vstssyncmigrationpath = Join-Path - Path $toolsLoc - ChildPath " \VSTSSyncMigration"
45
56 if (test-path $vstssyncmigrationpath ) {
67 write-host " Cleaning out the contents of $vstssyncmigrationpath "
Original file line number Diff line number Diff line change 11try {
2- $sysDrive = $env: SystemDrive
3- $vstssyncmigrationpath = Join-Path - Path " \VSTSSyncMigration" - ChildPath Get-ToolsLocation
2+ Import-Module " $env: ChocolateyInstall \helpers\chocolateyInstaller.psm1" - Force;
3+ $toolsLoc = Get-ToolsLocation
4+ $vstssyncmigrationpath = Join-Path - Path $toolsLoc - ChildPath " \VSTSSyncMigration"
45
56 Uninstall-ChocolateyZipPackage ' vstssyncmigration' ' vstsbulkeditor-#{GITVERSION.FULLSEMVER}#.zip'
67
You can’t perform that action at this time.
0 commit comments