Don't return $destinationDir

This commit is contained in:
Alexander Karatarakis 2017-11-27 00:45:00 -08:00
parent 2c914ff05a
commit b7c9ef5553

View File

@ -190,12 +190,10 @@ function vcpkgExtractFile( [Parameter(Mandatory=$true)][string]$file,
{
Move-Item -Path "$destinationPartial\*" -Destination $destinationDir
vcpkgRemoveDirectory $destinationPartial
return $destinationDir
}
else
{
Move-Item -Path $destinationPartial -Destination $destinationDir
return $destinationDir
}
}