mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-05-01 16:46:43 +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,
|
segment.chainEnd,
|
||||||
);
|
);
|
||||||
if (readableChain.length > 20) {
|
if (readableChain.length > 20) {
|
||||||
readableChain = `${chain.substring(0, 20)}...`;
|
readableChain = `${readableChain.substring(0, 20)}...`;
|
||||||
}
|
}
|
||||||
errorMsg += ` in chain "${readableChain}"`;
|
errorMsg += ` in chain "${readableChain}"`;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user