Skip to content

Commit ca21a6a

Browse files
devmotionfredrikekre
authored andcommitted
Fix "manfiest" typos in error message and comments (#2316)
(cherry picked from commit 9750a21, PR #2316)
1 parent 757f095 commit ca21a6a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/manifest.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function normalize_deps(name, uuid, deps::Vector{String}, manifest::Dict{String,
9696
"but no such entry exists in the manifest.")
9797
end
9898
# should have used dict format instead of vector format
99-
length(infos) == 1 || pkgerror("Invalid manfiest format. ",
99+
length(infos) == 1 || pkgerror("Invalid manifest format. ",
100100
"`$name=$uuid`'s dependency on `$dep` is ambiguous.")
101101
final[dep] = infos[1].uuid
102102
end

test/new.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ end
12591259
@test haskey(Pkg.project().dependencies, "Example")
12601260
@test haskey(Pkg.project().dependencies, "Unicode")
12611261
end end
1262-
# `instantiate` lonely manfiest
1262+
# `instantiate` lonely manifest
12631263
isolate(loaded_depot=true) do
12641264
manifest_dir = joinpath(@__DIR__, "manifest", "noproject")
12651265
cd(manifest_dir) do
@@ -1946,7 +1946,7 @@ end
19461946
# Manifest Status API
19471947
isolate(loaded_depot=true) do
19481948
io = PipeBuffer()
1949-
## empty manfiest
1949+
## empty manifest
19501950
Pkg.status(;io=io, mode=Pkg.PKGMODE_MANIFEST)
19511951
@test occursin(r"Status `.+Manifest\.toml` \(empty manifest\)", readline(io))
19521952
# loaded manifest

0 commit comments

Comments
 (0)