From 96011bbf7361d59eb0f1d82bdb9ef7d6411869aa Mon Sep 17 00:00:00 2001 From: Jake Ireland Date: Mon, 26 Sep 2022 21:48:10 +1300 Subject: [PATCH] Initialise real path variable before try/catch statement --- src/HiddenFiles.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HiddenFiles.jl b/src/HiddenFiles.jl index 9529350..e6ecfc9 100644 --- a/src/HiddenFiles.jl +++ b/src/HiddenFiles.jl @@ -191,6 +191,7 @@ end # the real path out, and apply the branch's _ishidden function to that path to get a final result function ishidden(f::AbstractString) # If path does not exist, `realpath` will errorâ„¢ + local rp::String try rp = realpath(f) catch e