ruby-changes:60922
From: Hiroshi <ko1@a...>
Date: Tue, 28 Apr 2020 11:39:26 +0900 (JST)
Subject: [ruby-changes:60922] 442866c2d4 (master): [rubygems/rubygems] Pass the rubocop lint
https://git.ruby-lang.org/ruby.git/commit/?id=442866c2d4 From 442866c2d445cbd30a0f4ae651c828ced0f8976c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Tue, 21 Apr 2020 19:34:26 +0900 Subject: [rubygems/rubygems] Pass the rubocop lint https://github.com/rubygems/rubygems/commit/d4486ca061 diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index 22fca7f..3ef0e28 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -122,7 +122,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/cli.rb#L122 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| -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/