summaryrefslogtreecommitdiff
path: root/lib/bundler/shared_helpers.rb
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-09 12:50:44 +0900
committerKoichi ITO <lol@wut.com>2017-05-28 17:25:00 +0900
commitc86d5494da463b01f4953947933022cde15c02cf (patch)
tree3931a29b0e936ec859c697ff068c2297bc82351e /lib/bundler/shared_helpers.rb
parent6bfb49ef40cea035407ed01371a960c46c0ad09a (diff)
downloadbundler-c86d5494da463b01f4953947933022cde15c02cf.tar.gz
[RuboCop] Enable Style/PercentLiteralDelimiters
Run `rubocop -a --only Style/PercentLiteralDelimiters` and `rubocop --auto-gen-config`.
Diffstat (limited to 'lib/bundler/shared_helpers.rb')
-rw-r--r--lib/bundler/shared_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb
index 74700cde35..b3354972d4 100644
--- a/lib/bundler/shared_helpers.rb
+++ b/lib/bundler/shared_helpers.rb
@@ -63,7 +63,7 @@ module Bundler
end
def with_clean_git_env(&block)
- keys = %w(GIT_DIR GIT_WORK_TREE)
+ keys = %w[GIT_DIR GIT_WORK_TREE]
old_env = keys.inject({}) do |h, k|
h.update(k => ENV[k])
end