aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib/hbc/cli
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-07 22:22:46 +0100
committerGitHub2017-02-07 22:22:46 +0100
commitbef2c6c9bd71e9b825ce34450fff79c7bb05a28f (patch)
treec54518af91fa16e9f188e27b4a0d9360bbdde144 /Library/Homebrew/cask/lib/hbc/cli
parent917b9f445ddb35295feb97e68f955a1e2f20d117 (diff)
parentac4969c3314641c8b5202ae67e2287f6b5bbb664 (diff)
downloadbrew-bef2c6c9bd71e9b825ce34450fff79c7bb05a28f.tar.bz2
Merge pull request #1956 from reitermarkus/refactor-artifacts
Refactor `Artifact`.
Diffstat (limited to 'Library/Homebrew/cask/lib/hbc/cli')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/list.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/list.rb b/Library/Homebrew/cask/lib/hbc/cli/list.rb
index 4094b3d38..e100fbd83 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/list.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/list.rb
@@ -55,7 +55,7 @@ module Hbc
def self.list_artifacts(cask)
Artifact.for_cask(cask).each do |artifact|
- summary = artifact.new(cask).summary
+ summary = artifact.summary
ohai summary[:english_description], summary[:contents] unless summary.empty?
end
end