Skip to content

Use the current macOS dependency syntax for con-beta - #4

Open
timonwong wants to merge 1 commit into
nowledge-co:mainfrom
timonwong:fix/con-beta-macos-dependency-syntax
Open

Use the current macOS dependency syntax for con-beta#4
timonwong wants to merge 1 commit into
nowledge-co:mainfrom
timonwong:fix/con-beta-macos-dependency-syntax

Conversation

@timonwong

Copy link
Copy Markdown

Why

Homebrew reports the following warning for this cask:

Calling string comparison format for depends_on macos: is deprecated!
Use depends_on macos: :catalina instead.

The current cask uses the deprecated string comparison form:

depends_on macos: ">= :catalina"

Homebrew's current macOS requirement parser recommends the symbol form, which preserves the same Catalina-or-newer requirement while avoiding the deprecation warning.

Change

Replace the deprecated string comparison syntax with:

depends_on macos: :catalina

Source

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