change the operator
This commit is contained in:
parent
0758631d3d
commit
e486c8710b
@ -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|
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user