aboutsummaryrefslogtreecommitdiff
path: root/scripts/Generate-SpdxLicenseList.ps1
diff options
context:
space:
mode:
authorBilly O'Neal <bion@microsoft.com>2020-07-01 10:53:10 -0700
committerGitHub <noreply@github.com>2020-07-01 10:53:10 -0700
commit532db1d8f7a5ac7d415fd9feccb7d1ee4377c9f3 (patch)
treeb9de86b0ec94aa7ff4c3cd07c2531a9920328403 /scripts/Generate-SpdxLicenseList.ps1
parent0084acc75da5fe831f90c0c16fcb3ce46fb8a533 (diff)
downloadvcpkg-532db1d8f7a5ac7d415fd9feccb7d1ee4377c9f3.tar.gz
vcpkg-532db1d8f7a5ac7d415fd9feccb7d1ee4377c9f3.zip
[vcpkg] VM Update (#12176)
* [qt5] Add more dependent Linux packages for https://github.com/microsoft/vcpkg/pull/11596/ * [vcpkg] Add LLVM 10 to Windows CI machines for https://github.com/microsoft/vcpkg/pull/11655/ * [vcpkg] Add missing Param block to InstallLLVM function. * [vcpkg] Add throw after all Write-Error calls for consistency with https://github.com/microsoft/vcpkg/pull/12172
Diffstat (limited to 'scripts/Generate-SpdxLicenseList.ps1')
-rw-r--r--scripts/Generate-SpdxLicenseList.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Generate-SpdxLicenseList.ps1 b/scripts/Generate-SpdxLicenseList.ps1
index 4710747eb..8af5fd4de 100644
--- a/scripts/Generate-SpdxLicenseList.ps1
+++ b/scripts/Generate-SpdxLicenseList.ps1
@@ -29,7 +29,7 @@ function Transform-JsonFile {
if ($req.StatusCode -ne 200)
{
Write-Error "Failed to GET $Uri"
- return
+ throw
}
$json = $req.Content | ConvertFrom-Json -Depth 10