Skip to content

Commit

Permalink
Fix "manfiest" typos (#2316)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Jan 6, 2021
1 parent a4d7232 commit 9750a21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/manifest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function normalize_deps(name, uuid, deps::Vector{String}, manifest::Dict{String,
"but no such entry exists in the manifest.")
end
# should have used dict format instead of vector format
length(infos) == 1 || pkgerror("Invalid manfiest format. ",
length(infos) == 1 || pkgerror("Invalid manifest format. ",
"`$name=$uuid`'s dependency on `$dep` is ambiguous.")
final[dep] = infos[1].uuid
end
Expand Down
4 changes: 2 additions & 2 deletions test/new.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ end
@test haskey(Pkg.project().dependencies, "Example")
@test haskey(Pkg.project().dependencies, "Unicode")
end end
# `instantiate` lonely manfiest
# `instantiate` lonely manifest
isolate(loaded_depot=true) do
manifest_dir = joinpath(@__DIR__, "manifest", "noproject")
cd(manifest_dir) do
Expand Down Expand Up @@ -1944,7 +1944,7 @@ end
# Manifest Status API
isolate(loaded_depot=true) do
io = PipeBuffer()
## empty manfiest
## empty manifest
Pkg.status(;io=io, mode=Pkg.PKGMODE_MANIFEST)
@test occursin(r"Status `.+Manifest\.toml` \(empty manifest\)", readline(io))
# loaded manifest
Expand Down

0 comments on commit 9750a21

Please sign in to comment.