mirror of
https://github.com/tcgdex/next-pre-css.git
synced 2025-04-22 10:52:14 +00:00
fix: fix the fix
This commit is contained in:
parent
f5ed7ce221
commit
c9213085da
4
index.js
4
index.js
@ -44,14 +44,14 @@ const ammendOneOfRules = config => (a, c) => {
|
|||||||
|| (() => false))
|
|| (() => false))
|
||||||
|
|
||||||
const issuerAccepts = ('issuer' in c
|
const issuerAccepts = ('issuer' in c
|
||||||
&& typeof c.issuer !== 'undefined'
|
&& typeof c.issuer === 'object'
|
||||||
&& 'and' in c.issuer
|
&& 'and' in c.issuer
|
||||||
&& Array.isArray(c.issuer.and)
|
&& Array.isArray(c.issuer.and)
|
||||||
&& matchArray(c.issuer.and)
|
&& matchArray(c.issuer.and)
|
||||||
|| (() => false))
|
|| (() => false))
|
||||||
|
|
||||||
const issuerAvoids = ('issuer' in c
|
const issuerAvoids = ('issuer' in c
|
||||||
&& typeof c.issuer !== 'undefined'
|
&& typeof c.issuer === 'object'
|
||||||
&& 'not' in c.issuer
|
&& 'not' in c.issuer
|
||||||
&& Array.isArray(c.issuer.not)
|
&& Array.isArray(c.issuer.not)
|
||||||
&& matchArray(c.issuer.not)
|
&& matchArray(c.issuer.not)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user