mirror of https://github.com/folke/lazy.nvim.git
test: process config timeout can be nil
This commit is contained in:
parent
bd2d64230f
commit
c1a05a5f9b
|
@ -15,7 +15,7 @@ local uv = vim.loop
|
||||||
---@param opts? ProcessOpts
|
---@param opts? ProcessOpts
|
||||||
function M.spawn(cmd, opts)
|
function M.spawn(cmd, opts)
|
||||||
opts = opts or {}
|
opts = opts or {}
|
||||||
opts.timeout = opts.timeout or (Config.options.git.timeout * 1000)
|
opts.timeout = opts.timeout or (Config.options.git and Config.options.git.timeout * 1000)
|
||||||
|
|
||||||
local env = {
|
local env = {
|
||||||
"GIT_TERMINAL_PROMPT=0",
|
"GIT_TERMINAL_PROMPT=0",
|
||||||
|
|
Loading…
Reference in New Issue