aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer')
-rw-r--r--lua/nvim-lsp-installer/fs.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-lsp-installer/fs.lua b/lua/nvim-lsp-installer/fs.lua
index 6277921b..d9c4ac93 100644
--- a/lua/nvim-lsp-installer/fs.lua
+++ b/lua/nvim-lsp-installer/fs.lua
@@ -3,7 +3,7 @@ local M = {}
function M.mkdirp(path)
if os.execute(("mkdir -p %q"):format(path)) ~= 0 then
- error(("mkdirp: Could not create directory %s"):format(path))
+ error(("mkdirp: Could not create directory %q"):format(path))
end
end
@@ -31,7 +31,7 @@ end
function M.rmrf(path)
-- giggity
if os.execute(("rm -rf %q"):format(path)) ~= 0 then
- error(("Could not remove LSP server directory %s"):format(path))
+ error(("rmrf: Could not remove directory %q"):format(path))
end
end