Skip to content

Commit

Permalink
Add captured string assignment to ensure block
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Oct 3, 2024
1 parent 85e4c50 commit bc0d5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rails_bump/checker/bundle_locally_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def try_bundle_install
$stdout = StringIO.new
begin
Bundler::Installer.install(Bundler.root, definition)
@captured_output = $stdout.string
ensure
@captured_output = $stdout.string
$stdout = original_stdout
end

Expand Down

0 comments on commit bc0d5bc

Please sign in to comment.