From f9ac30cf2de32201a9a2e7f89121a5aa5956e243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Sat, 6 Oct 2012 03:08:32 +1300 Subject: [PATCH] Fix broken linkapps command --- lib/cask/cli/linkapps.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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