diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-04-24 10:37:59 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-06-17 12:20:30 +0900 |
| commit | 21c7131df818c1f7f571d4ccf9be150d2c9cc374 (patch) | |
| tree | c5829e10881dac2d4a2264b9df09a1e7f7fbd144 | |
| parent | 9255db4bc08766763a6d78f50a90e05c58980899 (diff) | |
Run git without shell
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13634
| -rw-r--r-- | tool/auto-style.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
