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:
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