From 21c7131df818c1f7f571d4ccf9be150d2c9cc374 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 24 Apr 2025 10:37:59 +0900 Subject: [PATCH] Run git without shell --- tool/auto-style.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/auto-style.rb b/tool/auto-style.rb index d2b007bd51..908f8530fe 100644 --- a/tool/auto-style.rb +++ b/tool/auto-style.rb @@ -69,7 +69,7 @@ class Git def git(*args) cmd = ['git', *args].shelljoin puts "+ #{cmd}" - unless with_clean_env { system(cmd) } + unless with_clean_env { system('git', *args) } abort "Failed to run: #{cmd}" end end