diff options
author | Sergio Alejandro Vargas <savargasqu+git@unal.edu.co> | 2021-08-25 03:37:18 +0530 |
---|---|---|
committer | Sergio Alejandro Vargas <savargasqu+git@unal.edu.co> | 2021-08-25 03:37:18 +0530 |
commit | 349b44b520610d4bbcc84b98580342a1e598c83b (patch) | |
tree | e3ecbe800399419d95e08e5fbef6ede88264085e | |
parent | d8142419b044286e47548baf860e7a6234cba859 (diff) | |
download | paq-349b44b520610d4bbcc84b98580342a1e598c83b.tar.gz |
Fix regression: report remove()
-rw-r--r-- | lua/paq.lua | 3 |
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 |
156 | end | 157 | end |