mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Pass the rubocop lint
https://github.com/rubygems/rubygems/commit/d4486ca061
This commit is contained in:
parent
5b77fc8abe
commit
442866c2d4
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ module Bundler
|
|||
else command = "bundle-#{cli}"
|
||||
end
|
||||
|
||||
man_path = File.expand_path("../../../man", __FILE__)
|
||||
man_path = File.expand_path("../../../man", __FILE__)
|
||||
# man files are located under the share directory with the default gems of bundler
|
||||
man_path = File.expand_path("../../../../../share/man/man1", __FILE__) unless File.directory?(man_path)
|
||||
man_pages = Hash[Dir.glob(File.join(man_path, "*")).grep(/.*\.\d*\Z/).collect do |f|
|
||||
|
|
Loading…
Add table
Reference in a new issue