fix: fix the fix

This commit is contained in:
Florian Bouillon 2022-09-28 17:39:16 +02:00 committed by GitHub
parent f5ed7ce221
commit c9213085da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)