brew/Library/Homebrew/cask/artifact/shellcompletion.rb

16 lines
343 B
Ruby
Raw Normal View History

2025-03-03 17:54:54 +01:00
# typed: strict
# frozen_string_literal: true
require "cask/artifact/symlinked"
module Cask
module Artifact
class ShellCompletion < Symlinked
sig { params(_: T.any(String, Pathname)).returns(Pathname) }
def resolve_target(_)
raise CaskInvalidError, "Shell completion without shell info"
end
end
end
end