Skip to content

Commit

Permalink
Fix RuboCop issue and Ruby 2 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Jun 21, 2024
1 parent f4939ee commit a87b263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/support/docker_wrapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def run_compose_command(command, echo=true)
end

def capture_stream(stream, echo=true)
buffer = +''
while line = stream.gets
buffer = String.new
while (line = stream.gets)
buffer << line
$stderr.puts("[docker compose] #{line}") if echo
end
Expand Down

0 comments on commit a87b263

Please sign in to comment.