From f9a1b4ab1340f62009b49a834a17dd936208d738 Mon Sep 17 00:00:00 2001 From: chocolateboy Date: Sun, 28 Aug 2016 21:33:20 +0100 Subject: [PATCH] remove obsolete OPT_TABLE entries As of #138, the `OPT_TABLE` entries for `sh` and `ruby` are no longer used internally, and a GitHub search for these entries suggests that they are not used externally: https://git.io/v6hpi --- lib/rake/file_utils.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/rake/file_utils.rb b/lib/rake/file_utils.rb index 6bb41940d..aa065e8b4 100644 --- a/lib/rake/file_utils.rb +++ b/lib/rake/file_utils.rb @@ -11,9 +11,6 @@ module FileUtils RbConfig::CONFIG["ruby_install_name"] + RbConfig::CONFIG["EXEEXT"]). sub(/.*\s.*/m, '"\&"') - OPT_TABLE["sh"] = %w(noop verbose) - OPT_TABLE["ruby"] = %w(noop verbose) - # Run the system command +cmd+. If multiple arguments are given the command # is run directly (without the shell, same semantics as Kernel::exec and # Kernel::system).