From cadb193e3b58a8ad4b31c6f45236daa53e3ec7d6 Mon Sep 17 00:00:00 2001 From: Christian Bernard Date: Fri, 25 Jan 2019 08:05:13 -0700 Subject: [PATCH] Update to convert pairs to hash k=>v during to_a in Cask::DSL::ConflictsWith#to_a --- Library/Homebrew/cask/dsl/conflicts_with.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/dsl/conflicts_with.rb b/Library/Homebrew/cask/dsl/conflicts_with.rb index ea4065e21d..75242b9490 100644 --- a/Library/Homebrew/cask/dsl/conflicts_with.rb +++ b/Library/Homebrew/cask/dsl/conflicts_with.rb @@ -27,7 +27,9 @@ module Cask end def to_a - @pairs.values + conflicts={} + @pairs.each { |k, v| conflicts[k]=v } + conflicts end end end