aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/health.lua
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/lua/vim/health.lua')
-rw-r--r--runtime/lua/vim/health.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/health.lua b/runtime/lua/vim/health.lua
index 2417709ea2..f40f04a064 100644
--- a/runtime/lua/vim/health.lua
+++ b/runtime/lua/vim/health.lua
@@ -349,7 +349,7 @@ function M._system(cmd, args)
if jobid < 1 then
local message =
- string.format('Command error (job=%d): %s (in %s)', jobid, shellify(cmd), vim.loop.cwd())
+ string.format('Command error (job=%d): %s (in %s)', jobid, shellify(cmd), vim.uv.cwd())
error(message)
return opts.output, 1
end
@@ -368,7 +368,7 @@ function M._system(cmd, args)
jobid,
shell_error_code,
shellify(cmd),
- vim.loop.cwd()
+ vim.uv.cwd()
)
if opts.output:find('%S') then
emsg = string.format('%s\noutput: %s', emsg, opts.output)