mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 14:31:04 +00:00 
			
		
		
		
	test: process config timeout can be nil
This commit is contained in:
		
					parent
					
						
							
								bd2d64230f
							
						
					
				
			
			
				commit
				
					
						c1a05a5f9b
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -15,7 +15,7 @@ local uv = vim.loop | |||
| ---@param opts? ProcessOpts | ||||
| function M.spawn(cmd, opts) | ||||
|   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 = { | ||||
|     "GIT_TERMINAL_PROMPT=0", | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue