Skip to content

Commit

Permalink
remove obsolete OPT_TABLE entries
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chocolateboy committed Oct 3, 2016
1 parent 40d1f62 commit f9a1b4a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/rake/file_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit f9a1b4a

Please sign in to comment.