Skip to content

Commit f6135eb

Browse files
committed
error hint formatting
1 parent c019fca commit f6135eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Graphs.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ function __init__()
495495
Base.Experimental.register_error_hint(MethodError) do io, exc, argtypes, kwargs
496496
if exc.f == Graphs.Experimental.canonize!
497497
printstyled(io, "\nHint: "; color=:yellow, bold=true)
498-
println(
498+
print(
499499
io,
500500
"Canonization algorithms are implemented in dependencies like NautyGraphs.jl. Please make sure you first install and import `NautyGraphs`.",
501501
)
@@ -511,7 +511,7 @@ function __init__()
511511
Graphs.Experimental.all_isomorph,
512512
) && argtypes[3] == Graphs.Experimental.AlgNautyGraphs
513513
printstyled(io, "\nHint: "; color=:yellow, bold=true)
514-
println(
514+
print(
515515
io,
516516
"Using `AlgNautyGraphs` for isomorphism checking requires NautyGraphs.jl. Please make sure you first install and import `NautyGraphs`.",
517517
)

0 commit comments

Comments
 (0)