mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-30 22:11:09 +00:00 
			
		
		
		
	fix(log): properly check if plugin dir is a git repo before running git log
This commit is contained in:
		
					parent
					
						
							
								527f83cae5
							
						
					
				
			
			
				commit
				
					
						3d2dcb2d5e
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -15,7 +15,7 @@ M.log = { | |||
|       return true | ||||
|     end | ||||
|     local stat = vim.loop.fs_stat(plugin.dir .. "/.git") | ||||
|     return stat and stat.type ~= "directory" | ||||
|     return not (stat and stat.type == "directory") | ||||
|   end, | ||||
|   ---@param opts {args?: string[], updated?:boolean, check?:boolean} | ||||
|   run = function(self, opts) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue