Skip to content

Commit d7034e5

Browse files
committed
Record the absolute path
1 parent 813bfa5 commit d7034e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/file.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ function rm(path::AbstractString; force::Bool=false, recursive::Bool=false)
293293
# ensure that temp_path is on the same drive as path to avoid issue #59589
294294
@debug "Could not delete DLL most likely because it is loaded, moving to a temporary path" path temp_path
295295
Base.open(delayed_delete_list(), "a") do io
296-
println(io, temp_path) # record the temporary path for Pkg.gc()
296+
println(io, abspath(temp_path)) # record the temporary path for Pkg.gc()
297297
end
298298
rename(path, temp_path) # do not call mv which could recursively call rm(path)
299299
return

0 commit comments

Comments
 (0)