From b3108fac3f9ec1a85554790b9401ade370392b75 Mon Sep 17 00:00:00 2001 From: Greg Werbin Date: Mon, 11 Sep 2017 15:51:53 -0400 Subject: [PATCH] Conform to code style --- lib/bundler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler.rb b/lib/bundler.rb index 1157239029e..6c942baf59d 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -205,7 +205,7 @@ def user_bundle_path(dir = "home") ["BUNDLE_USER_PLUGIN", user_bundle_path.join("plugin")] else raise BundlerError, "Unknown user path requested: #{dir}" - end + end # `fallback` will already be a Pathname, but Pathname.new() is # idempotent so it's OK Pathname.new(ENV.fetch(env_var, fallback))