mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 06:21:14 +00:00 
			
		
		
		
	fix(cache): if we can't load from the cache modpath, find path again instead of erroring right away
This commit is contained in:
		
					parent
					
						
							
								bbace14dc9
							
						
					
				
			
			
				commit
				
					
						a345649510
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -95,7 +95,8 @@ function M.loader(modname) | |||
|       end | ||||
|     end | ||||
|     chunk, err = M.load(modname, entry.modpath) | ||||
|   else | ||||
|   end | ||||
|   if not chunk then | ||||
|     -- find the modpath and load the module | ||||
|     local modpath = M.find(modname) | ||||
|     if modpath then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue