Description
Homebrew emits the following deprecation warning for the go-task cask:
Warning: Calling `postflight` is deprecated! Use `postflight_steps` instead.
Please report this issue to the go-task/homebrew-tap tap (not Homebrew/* repositories), or even better, submit a PR to fix it:
/opt/homebrew/Library/Taps/go-task/homebrew-tap/Casks/go-task.rb:40
This appears to come from Casks/go-task.rb around line 40, where the cask still uses the deprecated postflight stanza.
Expected behavior: Installing or upgrading the cask should not emit Homebrew deprecation warnings.
Suggested fix: Migrate the cask from postflight to postflight_steps per the current Homebrew Cask DSL.
Version
3.53.1
Operating system
macOS
Experiments Enabled
No response
Example Taskfile
Description
Homebrew emits the following deprecation warning for the
go-taskcask:This appears to come from
Casks/go-task.rbaround line 40, where the cask still uses the deprecatedpostflightstanza.Expected behavior: Installing or upgrading the cask should not emit Homebrew deprecation warnings.
Suggested fix: Migrate the cask from
postflighttopostflight_stepsper the current Homebrew Cask DSL.Version
3.53.1
Operating system
macOS
Experiments Enabled
No response
Example Taskfile