buo / homebrew-cask-upgrade

A command line tool for upgrading every outdated app installed by Homebrew Cask
MIT License
2.4k stars 90 forks source link

Warning: Calling Hbc::DSL#license is deprecated! #66

Closed docgyneco69 closed 5 years ago

docgyneco69 commented 6 years ago

There is no replacement. /usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/hbc.rb:39:in `load_cask' Please report this to the buo/cask-upgrade tap!

buo commented 6 years ago

It seems like you need to run brew upgrade. Please refer to #20.

frankea commented 6 years ago

Having the same issue, when running brew update && brew upgrade && brew cu

`admins-iMac-7:~ afranke$ brew upgrade admins-iMac-7:~ afranke$ brew cu ==> Options Include auto-update (-a): false Include latest (-f): false

==> Finding outdated apps Warning: Calling Hbc::DSL#license is deprecated! There is no replacement. /usr/local/Homebrew/Library/Taps/buo/homebrew-cask-upgrade/lib/extend/hbc.rb:39:in load_cask' Please report this to the buo/cask-upgrade tap!

corporate-gadfly commented 6 years ago

In my case it was an outdated cask which had the deprecated syntax. See https://github.com/buo/homebrew-cask-upgrade/issues/77#issuecomment-350328134.