From 5b3ac1fcb2d4fdfecaa37184fb1c76f10b2eabe5 Mon Sep 17 00:00:00 2001 From: lionellloh Date: Tue, 30 Jun 2020 01:14:05 +0800 Subject: [PATCH] update-license-data: modify arguments when calling methods --- Library/Homebrew/dev-cmd/update-license-data.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}")