1
0
mirror of https://github.com/simple-icons/simple-icons.git synced 2024-11-16 00:59:07 +02: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:
Eric Cornelissen 2020-10-29 23:03:24 +02:00
parent a7bc5478d6
commit 8b2ae9b780

View File

@ -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, $) {