Homebrew/homebrew-bundle

View on GitHub
lib/bundle/cask_checker.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Bundle
  module Checker
    class CaskChecker < Bundle::Checker::Base
      PACKAGE_TYPE = :cask
      PACKAGE_TYPE_NAME = "Cask"

      def installed_and_up_to_date?(cask, no_upgrade: false)
        Bundle::CaskInstaller.cask_installed_and_up_to_date?(cask, no_upgrade:)
      end
    end
  end
end