diff options
author | phosphene47 <phosphene47@chiya.dev> | 2021-12-12 20:06:44 +1100 |
---|---|---|
committer | phosphene47 <phosphene47@chiya.dev> | 2021-12-12 20:06:44 +1100 |
commit | 63be58d87d1141db8e0e4465585b8f6b56f5b9c1 (patch) | |
tree | 8b000f02dc5bc7edaac6ee7cf6e68429687c214a /lua | |
parent | 6bcdc965529073927d6de0fc48b65200af0a189c (diff) | |
download | dep-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-x | lua/dep.lua | 2 |
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 |