diff --git a/Library/Homebrew/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/cask/artifact/abstract_uninstall.rb index 961c1701a1..af7e6b4ddf 100644 --- a/Library/Homebrew/cask/artifact/abstract_uninstall.rb +++ b/Library/Homebrew/cask/artifact/abstract_uninstall.rb @@ -101,7 +101,7 @@ module Cask found_services = find_launchctl_with_wildcard(service) next if found_services.blank? - found_services.each { |service| all_services += service} + found_services.each { |found_service| all_services += found_service } end all_services.each do |service|