Issy Long b7d997e80d
sorbet: Bump some files from typed: false to typed: true
- This was done with `brew typecheck --update --suggest-typed` which
  (as of the previous commit) uses Spoom, yet another gem. I thought I'd
  see how well it works. There are no Sorbet errors after these changes!
2022-10-11 01:09:03 +01:00

21 lines
414 B
Ruby

# typed: true
# frozen_string_literal: true
module Homebrew
module CLI
class Parser
undef validate_options
def validate_options
return unless @args.respond_to?(:cask?)
return unless @args.cask?
msg = "Casks are not supported on Linux"
raise UsageError, msg unless Homebrew::EnvConfig.developer?
opoo msg unless @args.quiet?
end
end
end
end