Skip to content

Commit

Permalink
fix(Core/errors): remove missed collection kwarg
Browse files Browse the repository at this point in the history
A leftover from f23d053.
  • Loading branch information
tecosaur committed Oct 12, 2024
1 parent 016f724 commit dc0edff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/src/model/errors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ function Base.showerror(io::IO, err::UnresolveableIdentifier{DataSet, String}, b
for (ident, collection, sim) in sort(candidates[last.(candidates) .>= threshold],
by=last, rev=true)
print(io, "\n ")
irep = IOContext(IOBuffer(), :color => true)
show(irep, MIME("text/plain"), ident; collection)
irep = IOContext(IOBuffer(), :color => true, :data_collection => collection)
show(irep, MIME("text/plain"), ident)
highlight_lcs(io, String(take!(irep.io)), err.identifier,
before="\e[2m", invert=true)
printstyled(io, " (", round(Int, 100*sim), "% match)",
Expand Down

0 comments on commit dc0edff

Please sign in to comment.