mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
test: helpers.clear(): Set common env vars only if not passed.
This commit is contained in:
@@ -290,7 +290,9 @@ local function clear(...)
|
||||
'NVIM_LOG_FILE',
|
||||
'NVIM_RPLUGIN_MANIFEST',
|
||||
}) do
|
||||
env_tbl[k] = os.getenv(k)
|
||||
if not env_tbl[k] then
|
||||
env_tbl[k] = os.getenv(k)
|
||||
end
|
||||
end
|
||||
env = {}
|
||||
for k, v in pairs(env_tbl) do
|
||||
|
Reference in New Issue
Block a user