From e486c8710ba32a428d1349b5bc46fdef96254aea Mon Sep 17 00:00:00 2001 From: hyuraku <32809703+hyuraku@users.noreply.github.com> Date: Mon, 28 Mar 2022 23:57:21 +0900 Subject: [PATCH] change the operator --- Library/Homebrew/extend/os/mac/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/mac/search.rb b/Library/Homebrew/extend/os/mac/search.rb index 5ead324149..1f27d89cfe 100644 --- a/Library/Homebrew/extend/os/mac/search.rb +++ b/Library/Homebrew/extend/os/mac/search.rb @@ -37,7 +37,7 @@ module Homebrew .search(string_or_regex) cask_names = Cask::Cask.all.map(&:full_name) - results |= DidYouMean::SpellChecker.new(dictionary: cask_names) + results += DidYouMean::SpellChecker.new(dictionary: cask_names) .correct(string_or_regex) results.sort.map do |name|