aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio A. Vargas <savargasqu+git@unal.edu.co>2021-08-25 03:40:47 +0530
committerGitHub <noreply@github.com>2021-08-25 03:40:47 +0530
commita27de440f408e36c1b21f6d180dec3bd0ce469e0 (patch)
treee3ecbe800399419d95e08e5fbef6ede88264085e
parentab1cc2c9c6392e8af42bc84b4945afc93706fae5 (diff)
parent349b44b520610d4bbcc84b98580342a1e598c83b (diff)
downloadpaq-a27de440f408e36c1b21f6d180dec3bd0ce469e0.tar.gz
Merge pull request #75 from savq/dev
Fix regression: report remove()
-rw-r--r--lua/paq.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/paq.lua b/lua/paq.lua
index f308adc..d69c4cd 100644
--- a/lua/paq.lua
+++ b/lua/paq.lua
@@ -150,7 +150,8 @@ local function remove(packdir)
150 end 150 end
151 for name, dir in pairs(to_rm) do 151 for name, dir in pairs(to_rm) do
152 if name ~= "paq-nvim" then 152 if name ~= "paq-nvim" then
153 vim.fn.delete(dir,"rf") 153 local ok = vim.fn.delete(dir, "rf")
154 report("remove", ok == 0 and "ok" or "err", name, c)
154 end 155 end
155 end 156 end
156end 157end