[前][次][番号順一覧][スレッド一覧]

ruby-changes:61503

From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:33:31 +0900 (JST)
Subject: [ruby-changes:61503] 9422162f71 (master): [rubygems/rubygems] Remove redundant substraction

https://git.ruby-lang.org/ruby.git/commit/?id=9422162f71

From 9422162f71e0d0f04034293125f925086abbbaf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Thu, 28 May 2020 23:02:28 +0200
Subject: [rubygems/rubygems] Remove redundant substraction

https://github.com/rubygems/rubygems/commit/365b46329b

diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index ed21485..068046f 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -164,7 +164,7 @@ module Bundler https://github.com/ruby/ruby/blob/trunk/lib/bundler/cli/install.rb#L164
       # need to nil them out first to get around validation for backwards compatibility
       Bundler.settings.set_command_option :without, nil
       Bundler.settings.set_command_option :with,    nil
-      Bundler.settings.set_command_option :without, without - with
+      Bundler.settings.set_command_option :without, without
       Bundler.settings.set_command_option :with,    with
     end
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]