Skip to content

Commit

Permalink
make resolve_depot work with general paths
Browse files Browse the repository at this point in the history
  • Loading branch information
fatteneder committed Jan 25, 2024
1 parent 9f1612d commit 606c535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2745,7 +2745,7 @@ end
function resolve_depot(inc::AbstractString)
startswith(inc, "@depot") || return :not_relocatable
for depot in DEPOT_PATH
isfile(restore_depot_path(inc, depot)) && return depot
ispath(restore_depot_path(inc, depot)) && return depot
end
return :no_depot_found
end
Expand Down

0 comments on commit 606c535

Please sign in to comment.