Skip to content

Commit 4146790

Browse files
committed
🎨 Reformat get_response debug trace printing
1 parent cda6451 commit 4146790

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/net/imap.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3445,10 +3445,8 @@ def get_response
34453445
end
34463446
end
34473447
return nil if buff.length == 0
3448-
if config.debug?
3449-
$stderr.print(buff.gsub(/^/n, "S: "))
3450-
end
3451-
return @parser.parse(buff)
3448+
$stderr.print(buff.gsub(/^/n, "S: ")) if config.debug?
3449+
@parser.parse(buff)
34523450
end
34533451

34543452
#############################

0 commit comments

Comments
 (0)