From 206b8eab2d0e6b637f12737f52f14f0662cdcec8 Mon Sep 17 00:00:00 2001 From: Miccal Matthews Date: Thu, 3 Dec 2020 12:32:02 +0800 Subject: [PATCH] cask-pr-inspect-download: updates for deprecated commands (#94175) --- developer/bin/cask-pr-inspect-download | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer/bin/cask-pr-inspect-download b/developer/bin/cask-pr-inspect-download index 5173e40ea0..b7b61a65ab 100755 --- a/developer/bin/cask-pr-inspect-download +++ b/developer/bin/cask-pr-inspect-download @@ -47,7 +47,7 @@ tmp_download_dir = File.join(tmp_cache_dir, "downloads") ENV["HOMEBREW_CACHE"] = tmp_cache_dir File.write(local_file, URI(file_raw_url).read) -system("brew", "cask", "fetch", local_file) +system("brew", "fetch", "--cask", local_file) downloaded_file = File.join(tmp_download_dir, Dir.children(tmp_download_dir).first) downloaded_file_ext = File.extname(downloaded_file)