Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Apr 21, 2018
1 parent 1b7113f commit d5370cf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions lib/subfont.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
]
}
};
}
Expand Down

0 comments on commit d5370cf

Please sign in to comment.