aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Alejandro Vargas <savargasqu+git@unal.edu.co>2021-08-25 03:37:18 +0530
committerSergio Alejandro Vargas <savargasqu+git@unal.edu.co>2021-08-25 03:37:18 +0530
commit349b44b520610d4bbcc84b98580342a1e598c83b (patch)
treee3ecbe800399419d95e08e5fbef6ede88264085e
parentd8142419b044286e47548baf860e7a6234cba859 (diff)
downloadpaq-349b44b520610d4bbcc84b98580342a1e598c83b.tar.gz
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