From b406e0b35a915e45ef8cff84e38f71def6b70f5e Mon Sep 17 00:00:00 2001 From: cnnrmnn Date: Fri, 14 May 2021 09:53:29 -0400 Subject: [PATCH] Update call sites --- Library/Homebrew/utils/spdx.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/utils/spdx.rb b/Library/Homebrew/utils/spdx.rb index 43e19401f7..93e2d7d1d9 100644 --- a/Library/Homebrew/utils/spdx.rb +++ b/Library/Homebrew/utils/spdx.rb @@ -34,8 +34,8 @@ module SPDX def download_latest_license_data!(to: DATA_PATH) data_url = "https://raw.githubusercontent.com/spdx/license-list-data/#{latest_tag}/json/" - curl_download("#{data_url}licenses.json", to: to/"spdx_licenses.json", partial: false) - curl_download("#{data_url}exceptions.json", to: to/"spdx_exceptions.json", partial: false) + curl_download("#{data_url}licenses.json", to: to/"spdx_licenses.json", try_partial: false) + curl_download("#{data_url}exceptions.json", to: to/"spdx_exceptions.json", try_partial: false) end def parse_license_expression(license_expression)