diff --git a/src/JuliaFormatter.jl b/src/JuliaFormatter.jl index cd8da733..3cb8c3dd 100644 --- a/src/JuliaFormatter.jl +++ b/src/JuliaFormatter.jl @@ -427,7 +427,7 @@ function format(path::AbstractString, options::Configuration) formatted = Threads.Atomic{Bool}(true) Threads.@threads for subpath in readdir(path) subpath = joinpath(path, subpath) - if !ispath(subpath) + if !ispath(subpath) || islink(subpath) continue end is_formatted = format(subpath, options)