Open jishnub opened 2 weeks ago
should check ispath, not isfile, or at least isfile(realpath(...))
That'd be more wrong for other reasons. However, isfile
is queried by the filemode
of stat
not lstat
, so it is already correct here.
julia> isfile("julia")
true
julia> islink("julia")
true
julia> isfile(lstat("julia"))
false
In https://buildkite.com/julialang/julia-master/builds/41308#0192ae1c-c55b-4384-877e-72b709138977, the
Revise
test errors withThe failing test is https://github.com/timholy/Revise.jl/blob/294d3b9f367f9a0585f95d0c5294e59d9571421f/test/runtests.jl#L740
This was discused on slack earlier when the error had happened on a different PR. Excerpts from the conversation: