aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/process.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-10-01 22:47:59 +0200
committerGitHub <noreply@github.com>2021-10-01 22:47:59 +0200
commit8212fc21b6a3c0000b1a5fb4c056c189c6fca212 (patch)
tree227a5b8291b6f22184ab4bcf5e18448802c6d296 /lua/nvim-lsp-installer/process.lua
parentstylua and some cleanup (diff)
downloadmason-8212fc21b6a3c0000b1a5fb4c056c189c6fca212.tar
mason-8212fc21b6a3c0000b1a5fb4c056c189c6fca212.tar.gz
mason-8212fc21b6a3c0000b1a5fb4c056c189c6fca212.tar.bz2
mason-8212fc21b6a3c0000b1a5fb4c056c189c6fca212.tar.lz
mason-8212fc21b6a3c0000b1a5fb4c056c189c6fca212.tar.xz
mason-8212fc21b6a3c0000b1a5fb4c056c189c6fca212.tar.zst
mason-8212fc21b6a3c0000b1a5fb4c056c189c6fca212.zip
fix newlines in stdout/stderr calls, more robust error handling (#114)
Diffstat (limited to 'lua/nvim-lsp-installer/process.lua')
-rw-r--r--lua/nvim-lsp-installer/process.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/process.lua b/lua/nvim-lsp-installer/process.lua
index 9c6a8c50..fc055061 100644
--- a/lua/nvim-lsp-installer/process.lua
+++ b/lua/nvim-lsp-installer/process.lua
@@ -83,7 +83,7 @@ function M.spawn(cmd, opts, callback)
if handle == nil then
log.error("Failed to spawn process", cmd, pid)
- opts.stdio_sink.stderr(("Failed to spawn process cmd=%s pid=%s"):format(cmd, pid))
+ opts.stdio_sink.stderr(("Failed to spawn process cmd=%s pid=%s\n"):format(cmd, pid))
callback(false)
return nil, nil
end