diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-12-26 14:00:11 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-12-26 15:09:21 +0900 |
commit | b7ad60a79440f65cf883d3ff9dbdde701666ef56 (patch) | |
tree | e0033b706a480377472bf93f58eaf42f6e2301ab /spec/bundler/support | |
parent | 10c9ce9d4c632d7c6232b53367b0496aef2ebb13 (diff) | |
download | ruby-b7ad60a79440f65cf883d3ff9dbdde701666ef56.tar.gz |
Merge RubyGems/Bundler master
from https://github.com/rubygems/rubygems/commit/72fd3dd2096af16d797ad0cd8e0d2a8869e240b3
Diffstat (limited to 'spec/bundler/support')
-rw-r--r-- | spec/bundler/support/artifice/vcr.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/artifice/vcr.rb b/spec/bundler/support/artifice/vcr.rb index e5be1e3d70..8428391688 100644 --- a/spec/bundler/support/artifice/vcr.rb +++ b/spec/bundler/support/artifice/vcr.rb @@ -42,7 +42,7 @@ class BundlerVCRHTTP < Net::HTTP response.uri = request.uri response.reading_body(response_io, request.response_body_permitted?) do - response_block.call(response) if response_block + response_block&.call(response) end end end |