mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 18:41:07 +03:00 
			
		
		
		
	Hotfix .svglintrc.js
There was a minor error in .svglintrc.js that caused it to silently fail in the size and centered checks due to a mistake in the `isIgnored` function.
This commit is contained in:
		
							parent
							
								
									a7bc5478d6
								
							
						
					
					
						commit
						8b2ae9b780
					
				| @ -47,9 +47,7 @@ if (updateIgnoreFile) { | ||||
| } | ||||
| 
 | ||||
| function isIgnored(linterName, path) { | ||||
|   return iconIgnored[linterName] | ||||
|     .map(ignored => ignored.hasOwnProperty(path)) | ||||
|     .some(v => v === true); | ||||
|   return iconIgnored[linterName].hasOwnProperty(path); | ||||
| } | ||||
| 
 | ||||
| function ignoreIcon(linterName, path, $) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user