mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 10:31:06 +03:00 
			
		
		
		
	Fix collinear-segments rule of SVG linting not executed (#10589)
This commit is contained in:
		
							parent
							
								
									ce2f63e591
								
							
						
					
					
						commit
						4f1b9b8946
					
				
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -649,7 +649,7 @@ export default { | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       (reporter, $, ast, filepath) => { | ||||
|       (reporter, $, ast, { filepath }) => { | ||||
|         reporter.name = 'collinear-segments'; | ||||
| 
 | ||||
|         /** | ||||
| @ -814,8 +814,12 @@ export default { | ||||
|           return collinearSegments; | ||||
|         }; | ||||
| 
 | ||||
|         const iconPath = getIconPath($, filepath), | ||||
|           collinearSegments = getCollinearSegments(iconPath); | ||||
|         const iconPath = getIconPath($, filepath); | ||||
|         if (!updateIgnoreFile && isIgnored(reporter.name, iconPath)) { | ||||
|           return; | ||||
|         } | ||||
| 
 | ||||
|         const collinearSegments = getCollinearSegments(iconPath); | ||||
|         if (collinearSegments.length === 0) { | ||||
|           return; | ||||
|         } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user