From 0222a834067dbe6f6e1ec81a452f4cffe7182b77 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 23 Sep 2020 09:01:55 +0100 Subject: [PATCH] test: fix brew style. --- Library/Homebrew/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/test.rb b/Library/Homebrew/test.rb index aad5e5bb2a..735775fc30 100644 --- a/Library/Homebrew/test.rb +++ b/Library/Homebrew/test.rb @@ -46,7 +46,7 @@ rescue Exception => e # rubocop:disable Lint/RescueException error_pipe.close ensure pid = Process.pid.to_s - if which("pgrep") && which("pkill") && system("pgrep", "-P", pid, :out => File::NULL) + if which("pgrep") && which("pkill") && system("pgrep", "-P", pid, out: File::NULL) $stderr.puts "Killing child processes..." system "pkill", "-P", pid sleep 1