From 5eab54f892cfac39c78a3d092f3084ce817fca04 Mon Sep 17 00:00:00 2001 From: Martin Schimandl Date: Sun, 22 Oct 2017 09:57:40 +0200 Subject: Reduce verbosity of artifacts hash --- Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3