aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMartin Schimandl2017-10-12 19:47:45 +0200
committerMartin Schimandl2017-11-10 20:16:38 +0100
commit587c5b07b326c82dc3becf4e4229861c86b1dcfa (patch)
tree6d188b35d9e1670ad0e4e9b959aa824a43bc2e09 /Library/Homebrew
parent255e991cc32da3141afc1a50e1f643d8e028a9f6 (diff)
downloadbrew-587c5b07b326c82dc3becf4e4229861c86b1dcfa.tar.bz2
Fix handling of artifact set
Diffstat (limited to 'Library/Homebrew')
-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 597ff4597..1ac585673 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb
@@ -67,7 +67,7 @@ module Hbc
if value.nil? || (value.respond_to?(:to_a) && value.to_a.empty?) ||
(value.respond_to?(:to_s) && value.to_s == "{}") ||
- (artifact_name && !value.key?(artifact_name))
+ (artifact_name && !value.include?(artifact_name))
if artifact_name
thing = artifact_name