Skip to content

Commit 44cc880

Browse files
committed
do not use Base.show_comma_array
use `join` instead
1 parent 95925a5 commit 44cc880

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/APIResponder.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ APIResponder(addr::String, ctx::Context=Context(), bound::Bool=true, id=nothing,
3030
APIResponder(ip::IPv4, port::Int, ctx::Context=Context()) = APIResponder("tcp://$ip:$port", ctx)
3131

3232
function Base.show(io::IO, x::APIResponder)
33-
println(io, "JuliaWebAPI.APIResponder with $(length(x.endpoints)) endpoints:")
34-
Base.show_comma_array(io, keys(x.endpoints), "","")
33+
print(io, "JuliaWebAPI.APIResponder with $(length(x.endpoints)) endpoints (", join(keys(x.endpoints), ","), ")")
3534
end
3635

3736
function default_endpoint(f::Function)

0 commit comments

Comments
 (0)