Skip to content

Commit 4d0e8a7

Browse files
committed
Fix formatting e.g. "body with length0B".
1 parent 8e053ca commit 4d0e8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bake/async/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def fetch(url, method:)
2121
format_body = proc do |body, terminal|
2222
if body
2323
if length = body.length
24-
terminal.print(:body, "body with length", :length, length, "B")
24+
terminal.print(:body, "body with length ", :length, length, "B")
2525
else
2626
terminal.print(:body, "body without length")
2727
end

0 commit comments

Comments
 (0)