From ee32554135ad894dbb16344ec80190a93c20372b Mon Sep 17 00:00:00 2001 From: singularitti Date: Mon, 6 Feb 2023 01:39:43 -0500 Subject: [PATCH] Change the return type of `listfiles` See https://github.com/shashi/FileTrees.jl/issues/74 --- src/Files.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Files.jl b/src/Files.jl index d850555..7aeff2b 100644 --- a/src/Files.jl +++ b/src/Files.jl @@ -21,7 +21,7 @@ function listfiles(patterns::Pair, root_dir=pwd()) end files end - return Tuple(io) + return first(io) .=> last(io) end materialize(config::ExpressFileTree) =