mirror of
https://github.com/simple-icons/simple-icons.git
synced 2025-01-25 01:32:58 +02: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…
x
Reference in New Issue
Block a user