mirror of
				https://github.com/packwiz/packwiz.git
				synced 2025-10-31 18:44:33 +01:00 
			
		
		
		
	Remove unnecessary filepath.Rel (Ignore calls Abs anyway)
This commit is contained in:
		| @@ -207,11 +207,8 @@ func (in *Index) Refresh() error { | ||||
| 				return nil | ||||
| 			} | ||||
|  | ||||
| 			rel, err := filepath.Rel(packRoot, path) | ||||
| 			if err == nil { | ||||
| 				if ignore.Ignore(filepath.ToSlash(rel)) { | ||||
| 					return nil | ||||
| 				} | ||||
| 			if ignore.Ignore(absPath) { | ||||
| 				return nil | ||||
| 			} | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user