aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/process.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-10-17 23:39:47 +0200
committerGitHub <noreply@github.com>2021-10-17 23:39:47 +0200
commitdd4afb08b93db3d53d0d70db749fc20bb487e1c3 (patch)
tree48edefd443c811df06dedd6306593616200e603f /lua/nvim-lsp-installer/process.lua
parentadd setting for configuring server install dir (#166) (diff)
downloadmason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar
mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.gz
mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.bz2
mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.lz
mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.xz
mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.tar.zst
mason-dd4afb08b93db3d53d0d70db749fc20bb487e1c3.zip
installers/context: rename functions (#170)
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 999b1a52..ae3647cb 100644
--- a/lua/nvim-lsp-installer/process.lua
+++ b/lua/nvim-lsp-installer/process.lua
@@ -87,7 +87,7 @@ function M.spawn(cmd, opts, callback)
}
log.lazy_debug(function()
- local sanitized_env = sanitize_env_list(opts.env or {})
+ local sanitized_env = opts.env and sanitize_env_list(opts.env) or nil
return "Spawning cmd=%s, spawn_opts=%s",
cmd,
{