mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-04-25 13:56:10 +03: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) {
|
function isIgnored(linterName, path) {
|
||||||
return iconIgnored[linterName]
|
return iconIgnored[linterName].hasOwnProperty(path);
|
||||||
.map(ignored => ignored.hasOwnProperty(path))
|
|
||||||
.some(v => v === true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function ignoreIcon(linterName, path, $) {
|
function ignoreIcon(linterName, path, $) {
|
||||||
|
Loading…
Reference in New Issue
Block a user