Skip to content

Commit

Permalink
spaceFilter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ivborissov committed Sep 27, 2024
1 parent 506a35f commit 8bc72b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/heta_cli/connect.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ function load_platform(
target_dir::AbstractString;
rm_out::Bool = true,
dist_dir::String = ".",
spaceFilter::Union{String, Vector{:Symbol}, Nothing} = nothing,
spaceFilter::Union{String, Vector{Symbol}, Nothing} = nothing,
kwargs...
)
if spaceFilter isa Vector{String}
if spaceFilter isa Vector{Symbol}
spaceFilter = "^(" * join(spaceFilter, "|") * ")\$"
end

Expand Down

0 comments on commit 8bc72b9

Please sign in to comment.