Skip to content

Commit

Permalink
tuple -> vector
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Feb 21, 2022
1 parent a7a90fd commit 7a2b989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function projectfile_path(env_path::String; strict=false)
end

function manifestfile_path(env_path::String; strict=false)
man_names = Base.manifest_names isa Tuple ? Base.manifest_names : Base.manifest_names()
man_names = Base.manifest_names isa Vector ? Base.manifest_names : Base.manifest_names()
if length(man_names) == 1
man_path = joinpath(env_path, only(man_names))
if strict && !isfile(man_path)
Expand Down

0 comments on commit 7a2b989

Please sign in to comment.