aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMartin Schimandl2017-10-22 09:57:40 +0200
committerMartin Schimandl2017-11-10 20:16:38 +0100
commit5eab54f892cfac39c78a3d092f3084ce817fca04 (patch)
treef8641f3495901806b9aa81a885dd0cd587e8bd70 /Library
parent52343142a7d9cb871fc1f4affc3edb9caff69ab5 (diff)
downloadbrew-5eab54f892cfac39c78a3d092f3084ce817fca04.tar.bz2
Reduce verbosity of artifacts hash
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb
index 5929d0503..bce5db3e1 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb
@@ -66,7 +66,7 @@ module Hbc
end
if stanza == :artifacts
- value = Hash[value.map { |v| [v.class.dsl_key, v] }]
+ value = Hash[value.map { |v| [v.class.dsl_key, v.to_s] }]
value = value[artifact_name] if artifact_name
end