Skip to content

fix: use symbol form for depends_on macos#7

Open
nasraldin wants to merge 1 commit into
ybeapps:mainfrom
nasraldin:fix/depends-on-macos-symbol
Open

fix: use symbol form for depends_on macos#7
nasraldin wants to merge 1 commit into
ybeapps:mainfrom
nasraldin:fix/depends-on-macos-symbol

Conversation

@nasraldin

Copy link
Copy Markdown

Summary

  • Replaces deprecated depends_on macos: ">= :big_sur" with depends_on macos: :big_sur
  • Fixes the Homebrew deprecation warning reported during brew upgrade / macup:
Warning: Calling string comparison format for `depends_on macos:` is deprecated!
Use `depends_on macos: :big_sur` instead.
Please report this issue to the ybeapps/homebrew-sourcegit tap
  Casks/sourcegit.rb:18

This matches the format already used in the official Homebrew cask:
https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/s/sourcegit.rb

Test plan

  • brew style Casks/sourcegit.rb — no offenses
  • After merge: brew update then brew upgrade --cask sourcegit no longer prints the deprecation warning

Made with Cursor

Homebrew deprecated string comparison format for `depends_on macos:`.
Replace `">= :big_sur"` with `:big_sur` to match current Homebrew style
and silence the deprecation warning during brew upgrade.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant