buo/homebrew-cask-upgrade

Unable to unpin a pinned cask (wrong number of arguments)

hkunzhe opened this issue · 3 comments

Hi,
When I try to unpin a pinned cask, an error occurs: wrong number of arguments (given 2, expected 1).
image
Does anyone have a suggestion? Thank you in advance!

me too...

Same issue over here. I took a quick look at the codebase, it looks like there is a typo that was introduced in pin_remove.rb (default parameter for quiet was removed in :18 and :26).

However, running a "manual" upgrade for the cask in question appears to clear the PINNED status. e.g.:

brew upgrade siyuan

I don't have the cycles ATM to get this environment up and running to issue a PR, hopefully someone can get to it before me!

Should be working now 🙂 thx @su-thomas for the contribution 🙂