diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-04 14:39:07 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-06-04 16:42:08 +0900 |
commit | 323acd263aff3cc29786a55d4604f240a9cbab46 (patch) | |
tree | 1ead035d8456e6e691063dd8a08a8b0e1edec342 | |
parent | 76479de159591a9e1dad256d908368c9dd17dad9 (diff) |
[ruby/rdoc] Stop checking if pager command found
`IO.popen` does that job.
https://github.com/ruby/rdoc/commit/3bbbc5ac84
-rw-r--r-- | lib/rdoc/ri/driver.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/rdoc/ri/driver.rb b/lib/rdoc/ri/driver.rb index 679cfd399c..f7a7d84205 100644 --- a/lib/rdoc/ri/driver.rb +++ b/lib/rdoc/ri/driver.rb @@ -1521,10 +1521,6 @@ or the PAGER environment variable. pagers.compact.uniq.each do |pager| next unless pager - pager_cmd = pager.split(' ').first - - next unless in_path? pager_cmd - if jruby then case io = find_pager_jruby(pager) when nil then break |