diff --git a/Library/Homebrew/cask/cask_loader.rb b/Library/Homebrew/cask/cask_loader.rb index d8a6bd41c9..ef44dff73f 100644 --- a/Library/Homebrew/cask/cask_loader.rb +++ b/Library/Homebrew/cask/cask_loader.rb @@ -59,7 +59,7 @@ module Cask attr_reader :token, :path - def initialize(path) # rubocop:disable Lint/MissingSuper + def initialize(path) path = Pathname(path).expand_path @token = path.basename(path.extname).to_s