From ffc86c543bcb1cb8d09fb982ce5166d8e94d82f6 Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Mon, 23 Jul 2018 20:36:18 +0200 Subject: [PATCH] fix typo in handle_repos_add! (#524) --- stdlib/Pkg/src/Types.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/Pkg/src/Types.jl b/stdlib/Pkg/src/Types.jl index fdf78c9d7a47a0..9ab3e123bdffc4 100644 --- a/stdlib/Pkg/src/Types.jl +++ b/stdlib/Pkg/src/Types.jl @@ -563,7 +563,7 @@ function handle_repos_add!(ctx::Context, pkgs::AbstractVector{PackageSpec}; upgr @assert git_tree isa LibGit2.GitTree pkg.repo.git_tree_sha1 = SHA1(string(LibGit2.GitHash(git_tree))) version_path = nothing - folder_alreay_downloaded = false + folder_already_downloaded = false if has_uuid(pkg) && has_name(pkg) version_path = Pkg.Operations.find_installed(pkg.name, pkg.uuid, pkg.repo.git_tree_sha1) isdir(version_path) && (folder_already_downloaded = true)