diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-01-17 15:16:34 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-01-19 11:20:36 +0900 |
commit | f04954d95c8a729d70be1c883617534a2e7cc239 (patch) | |
tree | 61146129066534cd6c29895ab45869f351be9640 /test/rubygems/utilities.rb | |
parent | a892e5599ec8ec441a8d8b878efa855ef283ed08 (diff) | |
download | ruby-f04954d95c8a729d70be1c883617534a2e7cc239.tar.gz |
[rubygems/rubygems] Normalize end alignment style with Bundler
https://github.com/rubygems/rubygems/commit/f7f504b24c
Diffstat (limited to 'test/rubygems/utilities.rb')
-rw-r--r-- | test/rubygems/utilities.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/utilities.rb b/test/rubygems/utilities.rb index 20416fe70b..613cf6c0ee 100644 --- a/test/rubygems/utilities.rb +++ b/test/rubygems/utilities.rb @@ -135,10 +135,10 @@ class Gem::FakeFetcher def download(spec, source_uri, install_dir = Gem.dir) name = File.basename spec.cache_file path = if Dir.pwd == install_dir # see fetch_command - install_dir - else - File.join install_dir, "cache" - end + install_dir + else + File.join install_dir, "cache" + end path = File.join path, name |