brew info
reports "undefined method `analytics?'" on casks
#18915
Labels
bug
Reproducible Homebrew/brew bug
brew info
reports "undefined method `analytics?'" on casks
#18915
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
When running
brew info
on a cask, whether installed or not, most of the standardbrew info
output is displayed, but it generates an error: "Error: undefined method `analytics?' for an instance of Homebrew::CLI::Args".What happened (include all command output)?
Sample output of
brew info --verbose
:What did you expect to happen?
brew info
should not generate an error (and should presumably show the cask analytics).Step-by-step reproduction instructions (by running
brew
commands)Run
brew info
on any cask.I originally noticed the error when running
brew info miniforge
(which I do not currently have installed).To verify this was not an issue with a particular cask I ran:
brew ls --cask -1 | xargs -I {} brew info {}
And to verify it did not affect formulae I ran:
brew ls --formula -1 | xargs -I {} brew info {}
It is theoretically possible that for some reason this only affects the 45 casks I have installed but that seems unlikely.
The text was updated successfully, but these errors were encountered: