Skip to content

Commit

Permalink
fix typo in handle_repos_add! (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre authored and KristofferC committed Feb 11, 2019
1 parent ec9e5cf commit ffc86c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Pkg/src/Types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ffc86c5

Please sign in to comment.