change the operator

This commit is contained in:
hyuraku 2022-03-28 23:57:21 +09:00
parent 0758631d3d
commit e486c8710b

View File

@ -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|