From 84f288be79b0a8bd043fa74e02a643f154ea62e8 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Mon, 19 Dec 2022 14:39:48 +1100 Subject: [PATCH] fix style --- Library/Homebrew/cask/artifact/abstract_uninstall.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/cask/artifact/abstract_uninstall.rb index 6b0097d5ff..961c1701a1 100644 --- a/Library/Homebrew/cask/artifact/abstract_uninstall.rb +++ b/Library/Homebrew/cask/artifact/abstract_uninstall.rb @@ -285,8 +285,7 @@ module Cask def find_launchctl_with_wildcard(search) regex = Regexp.escape(search).gsub("\\*", ".*") system_command!("/bin/launchctl", args: ["list"]) - # skip stdout column headers - .stdout.lines.drop(1) + .stdout.lines.drop(1) # skip stdout column headers .map do |line| pid, _state, id = line.chomp.split("\t") id if pid.to_i.nonzero? && id.match?(regex)