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

ruby-changes:56077

From: Hiroshi <ko1@a...>
Date: Tue, 11 Jun 2019 12:17:01 +0900 (JST)
Subject: [ruby-changes:56077] Hiroshi SHIBATA: e4364dbf6e (trunk): Fixed the code-style with the upstream rule.

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

From e4364dbf6ecd9f87588f6f9e93d213046b75478e Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Tue, 11 Jun 2019 12:16:26 +0900
Subject: Fixed the code-style with the upstream rule.


diff --git a/spec/bundler/commands/exec_spec.rb b/spec/bundler/commands/exec_spec.rb
index fe5cb9f..b3ec2c2 100644
--- a/spec/bundler/commands/exec_spec.rb
+++ b/spec/bundler/commands/exec_spec.rb
@@ -280,10 +280,10 @@ RSpec.describe "bundle exec" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/commands/exec_spec.rb#L280
 
     rubyopt = ENV["RUBYOPT"]
     setup_path = if ruby_core?
-                   File.expand_path("../../../lib/bundler/setup", __dir__)
-                 else
-                   File.expand_path("../../lib/bundler/setup", __dir__)
-                 end
+      File.expand_path("../../../lib/bundler/setup", __dir__)
+    else
+      File.expand_path("../../lib/bundler/setup", __dir__)
+    end
     rubyopt = "-r#{setup_path} #{rubyopt}"
 
     bundle "exec 'echo $RUBYOPT'"
-- 
cgit v0.10.2


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

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