mirror of
				https://github.com/Mibew/simple-icons.git
				synced 2025-10-31 10:31:06 +03:00 
			
		
		
		
	Fix typo in linter (#6818)
In some circumstances with ineffective segments, we have the following error: > ReferenceError: chain is not defined
This commit is contained in:
		
							parent
							
								
									dfadae5df5
								
							
						
					
					
						commit
						867d64e316
					
				| @ -590,7 +590,7 @@ module.exports = { | ||||
|                 segment.chainEnd, | ||||
|               ); | ||||
|               if (readableChain.length > 20) { | ||||
|                 readableChain = `${chain.substring(0, 20)}...`; | ||||
|                 readableChain = `${readableChain.substring(0, 20)}...`; | ||||
|               } | ||||
|               errorMsg += ` in chain "${readableChain}"`; | ||||
|             } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user