diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-06-10 21:26:54 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-06-10 21:26:54 +0900 |
commit | 622921e1fc8d9edc5c4450d725dd162c2f890138 (patch) | |
tree | 7a992605bb1065fffb51f8b2c36d27d2496abaa4 /spec | |
parent | ddeb882636ad4f6e053a784ebeddb1e1b4b5d1fa (diff) | |
download | bundler-622921e1fc8d9edc5c4450d725dd162c2f890138.tar.gz |
rubocop -a
Diffstat (limited to 'spec')
-rw-r--r-- | spec/commands/exec_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb index fe5cb9f50c..b3ec2c2cfe 100644 --- a/spec/commands/exec_spec.rb +++ b/spec/commands/exec_spec.rb @@ -280,10 +280,10 @@ RSpec.describe "bundle exec" do 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'" |