aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-11-27 00:45:00 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-11-27 00:45:00 -0800
commitb7c9ef55531cba1c014650dbc5ff33fa1b977b40 (patch)
treeb755aeb602709a9450dd863a1d72617b9009bc58 /scripts
parent2c914ff05af3b2209eb11b6ba61b43eb46033cb3 (diff)
downloadvcpkg-b7c9ef55531cba1c014650dbc5ff33fa1b977b40.tar.gz
vcpkg-b7c9ef55531cba1c014650dbc5ff33fa1b977b40.zip
Don't return $destinationDir
Diffstat (limited to 'scripts')
-rw-r--r--scripts/VcpkgPowershellUtils.ps12
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1
index 0e53ff620..28e818437 100644
--- a/scripts/VcpkgPowershellUtils.ps1
+++ b/scripts/VcpkgPowershellUtils.ps1
@@ -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
}
}