Permalink
Browse files

Try again

  • Loading branch information...
mlandauer committed Jan 6, 2018
1 parent 51d13cf commit 619c7bcbe63df9d592ce7e33a4bb144b2aa74c56
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/morph/docker_utils.rb
@@ -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

0 comments on commit 619c7bc

Please sign in to comment.