mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 14:31:04 +00:00 
			
		
		
		
	fix(util): remove double forward slashes
This commit is contained in:
		
					parent
					
						
							
								3da6c74ed3
							
						
					
				
			
			
				commit
				
					
						ed0583e82b
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -44,7 +44,7 @@ function M.norm(path) | |||
|     end | ||||
|     path = home .. path:sub(2) | ||||
|   end | ||||
|   path = path:gsub("\\", "/") | ||||
|   path = path:gsub("\\", "/"):gsub("/+", "/") | ||||
|   return path:sub(-1) == "/" and path:sub(1, -2) or path | ||||
| end | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue