aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMartin Schimandl2017-10-11 19:06:35 +0200
committerMartin Schimandl2017-11-10 20:16:38 +0100
commit255e991cc32da3141afc1a50e1f643d8e028a9f6 (patch)
treed9a1798f65be3fb0432b31f9d7a835a94169c6cc /Library/Homebrew
parentdb2c86204b84e70ef6cef912ac410ea93551127f (diff)
downloadbrew-255e991cc32da3141afc1a50e1f643d8e028a9f6.tar.bz2
Remove obsolete code to fix tests.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb1
1 files changed, 0 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 49b187216..597ff4597 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb
@@ -66,7 +66,6 @@ module Hbc
end
if value.nil? || (value.respond_to?(:to_a) && value.to_a.empty?) ||
- (value.respond_to?(:to_h) && value.to_h.empty?) ||
(value.respond_to?(:to_s) && value.to_s == "{}") ||
(artifact_name && !value.key?(artifact_name))