diff options
| author | William Boman <william@redwill.se> | 2021-06-12 01:37:47 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-06-12 01:37:47 +0200 |
| commit | 2fe2fc479f159906ef1a637935c681230acecbd0 (patch) | |
| tree | 89b46ea1bd0079f7040b4cca54a95fd9daf3d44c /lua/nvim-lsp-installer/fs.lua | |
| parent | rust_analyzer: upgrade version to 2021-06-07 (#25) (diff) | |
| download | mason-2fe2fc479f159906ef1a637935c681230acecbd0.tar mason-2fe2fc479f159906ef1a637935c681230acecbd0.tar.gz mason-2fe2fc479f159906ef1a637935c681230acecbd0.tar.bz2 mason-2fe2fc479f159906ef1a637935c681230acecbd0.tar.lz mason-2fe2fc479f159906ef1a637935c681230acecbd0.tar.xz mason-2fe2fc479f159906ef1a637935c681230acecbd0.tar.zst mason-2fe2fc479f159906ef1a637935c681230acecbd0.zip | |
fs: improved error messages
Diffstat (limited to 'lua/nvim-lsp-installer/fs.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/fs.lua | 4 |
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 |
