diff --git a/Library/Homebrew/dev-cmd/update-license-data.rb b/Library/Homebrew/dev-cmd/update-license-data.rb index 9e35cf33b3..713694619e 100644 --- a/Library/Homebrew/dev-cmd/update-license-data.rb +++ b/Library/Homebrew/dev-cmd/update-license-data.rb @@ -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}")