aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorphosphene47 <phosphene47@chiya.dev>2021-12-12 20:06:44 +1100
committerphosphene47 <phosphene47@chiya.dev>2021-12-12 20:06:44 +1100
commit63be58d87d1141db8e0e4465585b8f6b56f5b9c1 (patch)
tree8b000f02dc5bc7edaac6ee7cf6e68429687c214a /lua
parent6bcdc965529073927d6de0fc48b65200af0a189c (diff)
downloaddep-63be58d87d1141db8e0e4465585b8f6b56f5b9c1.tar.gz
dep-63be58d87d1141db8e0e4465585b8f6b56f5b9c1.tar.bz2
dep-63be58d87d1141db8e0e4465585b8f6b56f5b9c1.zip
Fix sync not completing when some packages are disabled, and make readme pretty
Diffstat (limited to '')
-rwxr-xr-xlua/dep.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/dep.lua b/lua/dep.lua
index 62a77da..ca179c5 100755
--- a/lua/dep.lua
+++ b/lua/dep.lua
@@ -470,11 +470,13 @@ end
local function sync(package, cb)
if not package.enabled then
+ cb()
return
end
if package.exists then
if package.pin then
+ cb()
return
end