From 255e991cc32da3141afc1a50e1f643d8e028a9f6 Mon Sep 17 00:00:00 2001 From: Martin Schimandl Date: Wed, 11 Oct 2017 19:06:35 +0200 Subject: [PATCH] Remove obsolete code to fix tests. --- Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb b/Library/Homebrew/cask/lib/hbc/cli/internal_stanza.rb index 49b187216e..597ff45970 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))