diff options
author | Koichi ITO <koic.ito@gmail.com> | 2017-05-09 12:50:44 +0900 |
---|---|---|
committer | Koichi ITO <lol@wut.com> | 2017-05-28 17:25:00 +0900 |
commit | c86d5494da463b01f4953947933022cde15c02cf (patch) | |
tree | 3931a29b0e936ec859c697ff068c2297bc82351e /lib/bundler/shared_helpers.rb | |
parent | 6bfb49ef40cea035407ed01371a960c46c0ad09a (diff) | |
download | bundler-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.rb | 2 |
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 |