From 442866c2d445cbd30a0f4ae651c828ced0f8976c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 21 Apr 2020 19:34:26 +0900 Subject: [PATCH] [rubygems/rubygems] Pass the rubocop lint https://github.com/rubygems/rubygems/commit/d4486ca061 --- lib/bundler/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 22fca7fdf4..3ef0e28f26 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -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|