mirror of
https://github.com/gosticks/brew.git
synced 2026-08-12 04:30:21 +00:00
update-license-data: modify arguments when calling methods
This commit is contained in:
@@ -30,8 +30,8 @@ module Homebrew
|
||||
def update_license_data
|
||||
update_license_data_args.parse
|
||||
ohai "Updating SPDX license data..."
|
||||
spdx_download_result = curl(SPDX_DATA_URL)
|
||||
SPDX_PATH.write(spdx_download_result.stdout, true)
|
||||
spdx_download_result = curl(SPDX_DATA_URL, print_stdout: false)
|
||||
SPDX_PATH.write(spdx_download_result.stdout, overwrite: true)
|
||||
return unless args.fail_if_changed?
|
||||
|
||||
system("git diff --stat --exit-code #{SPDX_PATH}")
|
||||
|
||||
Reference in New Issue
Block a user