From 76343678caf1144b6d6e710a665dd1d312a90f39 Mon Sep 17 00:00:00 2001 From: Fredrik Broman Date: Sun, 14 Jun 2026 14:48:01 +0200 Subject: [PATCH] fix: correct Homebrew cask macOS dependency syntax This change sets minimum version to Sonoma and fixes the... Warning: Calling string comparison format for depends_on macos: is deprecated! Use depends_on macos: :sonoma instead. Please report this issue to the bysiber/homebrew-cleardisk tap (not Homebrew/* repositories), or even better, submit a PR to fix it: /opt/homebrew/Library/Taps/bysiber/homebrew-cleardisk/Casks/cleardisk.rb:10 ... error as reported by theeseuus in Issue #20. --- scripts/brew_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/brew_update.sh b/scripts/brew_update.sh index 54008bf..5679f19 100755 --- a/scripts/brew_update.sh +++ b/scripts/brew_update.sh @@ -34,7 +34,7 @@ cask "cleardisk" do desc "Free, open-source macOS app to find and clean developer caches" homepage "https://github.com/bysiber/cleardisk" - depends_on macos: ">= :sonoma" + depends_on macos: :sonoma app "ClearDisk.app"