Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
cheerfulstoic committed Feb 9, 2017
1 parent 776c7a3 commit 1b3ed7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/neo4j/core/cypher_session/adaptors/bolt.rb
Expand Up @@ -215,9 +215,8 @@ def log_message(side, *args)
end

# Replace with Enumerator?
# rubocop:disable Style/EmptyLiteral
def flush_response
chunk = String.new
chunk = ''

while !(header = recvmsg(2)).empty? && (chunk_size = header.unpack('s>*')[0]) > 0
log_message :S, :chunk_size, chunk_size
Expand Down

0 comments on commit 1b3ed7d

Please sign in to comment.