Skip to content

Warning: Command needs to be refactored, as it is written in a style that is deprecated!Β #18

@kohding

Description

@kohding

Tapped the latest version and getting the following deprecation warnings. Are you able to reproduce or is this on my end?

I've tried in zsh on M1 Max and M3 Max running Sequoia 15.1.1 (24B91).

❯ brew add duti
Warning: Calling `brew add'. This command needs to be refactored, as it is written in a style that is deprecated! Use inherits from `Homebrew::AbstractCommand' ( see https://docs.brew.sh/External-Commands ) instead.
Please report this issue to the superatomic/homebrew-bundle-extensions tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/superatomic/homebrew-bundle-extensions/cmd/add.rb:7

==> Using Brewfile at '~/.config/brew/Brewfile'
==> Added Formula duti to Brewfile

❯ brew drop duti
Warning: Calling `brew drop'. This command needs to be refactored, as it is written in a style that is deprecated! Use inherits from `Homebrew::AbstractCommand' ( see https://docs.brew.sh/External-Commands ) instead.
Please report this issue to the superatomic/homebrew-bundle-extensions tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
  /opt/homebrew/Library/Taps/superatomic/homebrew-bundle-extensions/cmd/drop.rb:7

==> Using Brewfile at '~/.config/brew/Brewfile'
==> Dropped Formula duti from Brewfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions