Skip to content

Commit

Permalink
fix: Don't try to clone existing pinned packages
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarbenedito authored and savq committed May 3, 2022
1 parent c945152 commit 28e7635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/paq.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ end
local function clone_or_pull(pkg, counter)
if pkg.exists and not pkg.pin then
pull(pkg, counter, "update")
else
elseif not pkg.exists then
clone(pkg, counter, "install")
end
end
Expand Down

0 comments on commit 28e7635

Please # to comment.