From b69b24e943b2c7f5da688c80ee83bb7d7ee264fb Mon Sep 17 00:00:00 2001 From: Peter Goldstein Date: Fri, 23 Jun 2023 16:38:27 -0400 Subject: [PATCH] Fix lint (#965) --- lib/dalli/protocol/binary/response_processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dalli/protocol/binary/response_processor.rb b/lib/dalli/protocol/binary/response_processor.rb index 81769d9d..a11c1b8a 100644 --- a/lib/dalli/protocol/binary/response_processor.rb +++ b/lib/dalli/protocol/binary/response_processor.rb @@ -52,7 +52,7 @@ def unpack_response_body(resp_header, body, parse_as_stored_value) bitflags = extra_len.positive? ? body.unpack1('N') : 0x0 key = body.byteslice(extra_len, key_len).force_encoding(Encoding::UTF_8) if key_len.positive? value = body.byteslice((extra_len + key_len)..-1) - value = parse_as_stored_value ? @value_marshaller.retrieve(value, bitflags) : value + value = @value_marshaller.retrieve(value, bitflags) if parse_as_stored_value [key, value] end