From 83babc720e7bc967af0945f08fe26126322e8fea Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 5 Jul 2026 06:12:02 -0400 Subject: [PATCH] Apply suggestion from justinmk --- runtime/lua/vim/pack.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/lua/vim/pack.lua b/runtime/lua/vim/pack.lua index a0362a1bf4..0f39968420 100644 --- a/runtime/lua/vim/pack.lua +++ b/runtime/lua/vim/pack.lua @@ -246,7 +246,7 @@ local function git_cmd(cmd, cwd) local sys_opts = { cwd = cwd, text = true, env = env, clear_env = true } local out = async.await(3, vim.system, cmd, sys_opts) --- @type vim.SystemCompleted async.await(1, vim.schedule) - local stderr = vim.nonnil(out.stderr, '') + local stderr = out.stderr or '' if out.code ~= 0 then error(stderr) end