From 4036f8c3d11e12b289fad8db5034afe694c480a0 Mon Sep 17 00:00:00 2001 From: rafaqz Date: Sun, 24 Dec 2023 20:49:09 +0100 Subject: [PATCH] fix typepo --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index e4cdfde3..7699c6cc 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -1,5 +1,5 @@ filter_ext(path, ext::AbstractString) = - filte(fn -> splitext(fn)[2] == ext, readdir(path; join=true)) + filter(fn -> splitext(fn)[2] == ext, readdir(path; join=true)) filter_ext(path, exts::Union{Tuple,AbstractArray}) = filter(fn -> splitext(fn)[2] in exts, readdir(path; join=true)) filter_ext(path, ext::Nothing) = readdir(path; join=true)