mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 03:34:26 +08:00
Don't return $destinationDir
This commit is contained in:
parent
2c914ff05a
commit
b7c9ef5553
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user