From 35a8c336902d9a18be81d16981da35724e94e19b Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Tue, 30 Jun 2020 10:18:49 -0400 Subject: [PATCH] Update shell metacharacter list --- Library/Homebrew/rubocops/lines.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index d8708c2362..ca62165b9d 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -264,7 +264,7 @@ module RuboCop :safe_popen_write, ] - shell_metacharacters = %w[> >> < << | ; & && || *] + shell_metacharacters = %w[> < < | ; : & * $ ? : ~ + @ !` ( ) [ ]] find_every_method_call_by_name(body_node, :system).each do |method| # Continue if a shell metacharacter is present