Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Jan 6, 2018
1 parent 51d13cf commit 619c7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/morph/docker_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def self.docker_build_from_dir(dir, connection_options, build_options = {})
# makes line output more consistent across platforms.
# Make sure that buffer can't grow out of control by limiting
# it's size around 256 bytes
if buffer[-1..-1] == "\n" || buffer.count >= 256
if buffer[-1..-1] == "\n" || buffer.length >= 256
yield buffer
buffer = ""
end
Expand Down

0 comments on commit 619c7bc

Please sign in to comment.