Merge pull request #14576 from apainintheneck/remove-cask-check-for-linux

extend/os: remove cask install on linux
This commit is contained in:
Mike McQuaid 2023-02-12 12:02:24 +00:00 committed by GitHub
commit 2bdf20b0ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 34 deletions

View File

@ -2,7 +2,6 @@
# frozen_string_literal: true
require "cask_dependent"
require "extend/os/cask/cmd/install"
module Cask
class Cmd

View File

@ -1,4 +0,0 @@
# typed: strict
# frozen_string_literal: true
require "extend/os/linux/cask/cmd/install" if OS.linux?

View File

@ -1,29 +0,0 @@
# typed: false
# frozen_string_literal: true
require "cask_dependent"
module Cask
class Cmd
# Cask implementation of the `brew install` command.
#
# @api private
class Install < AbstractCommand
def self.install_casks(
_casks,
verbose: nil,
force: nil,
adopt: nil,
binaries: nil,
skip_cask_deps: nil,
require_sha: nil,
quarantine: nil,
quiet: nil,
zap: nil,
dry_run: nil
)
odie "Installing casks is supported only on macOS"
end
end
end
end