diff --git a/Project.toml b/Project.toml index 1922336..3420760 100644 --- a/Project.toml +++ b/Project.toml @@ -12,7 +12,7 @@ Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" [compat] -CodeTracking = "0.5.7, 1, 2" +CodeTracking = "2" Crayons = "4.1" Highlights = "0.4.3, 0.5" JuliaInterpreter = "0.10" diff --git a/src/locationinfo.jl b/src/locationinfo.jl index c085d41..418d0ff 100644 --- a/src/locationinfo.jl +++ b/src/locationinfo.jl @@ -106,6 +106,6 @@ function locdesc(io, frame::Frame; current_line=false) end line = current_line ? JuliaInterpreter.linenumber(frame) : meth.line path = string(_print_full_path[] ? meth.file : basename(String(meth.file)), ":", line) - path = CodeTracking.replace_buildbot_stdlibpath(String(path)) + path = CodeTracking.maybe_fix_path(path) print(io, ") at ", path) end