diff --git a/lib/cask/cli/linkapps.rb b/lib/cask/cli/linkapps.rb index 90651cc72..3cf565694 100644 --- a/lib/cask/cli/linkapps.rb +++ b/lib/cask/cli/linkapps.rb @@ -1,6 +1,8 @@ class Cask::CLI::Linkapps def self.run(*arguments) - Cask.installed.map(&:linkapps) + Cask.installed.map { |app| + Cask.load(app).linkapp + } end def self.help