diff --git a/lib/subfont.js b/lib/subfont.js index ecd1abac..fb00ae12 100644 --- a/lib/subfont.js +++ b/lib/subfont.js @@ -32,14 +32,23 @@ module.exports = async ({ if (recursive) { followRelationsQuery = { $or: [ - { type: { $nin: [...anchorTypes, ...resourceHintTypes, 'HtmlOpenGraph'] } }, + { + type: { + $nin: [...anchorTypes, ...resourceHintTypes, 'HtmlOpenGraph'] + } + }, { type: { $nin: resourceHintTypes }, crossorigin: false } ] }; } else { followRelationsQuery = { type: { - $nin: [...anchorTypes, ...resourceHintTypes, 'HtmlAlternateLink', 'HtmlOpenGraph'] + $nin: [ + ...anchorTypes, + ...resourceHintTypes, + 'HtmlAlternateLink', + 'HtmlOpenGraph' + ] } }; }