Skip to content

Commit

Permalink
validators: extend config's ignorelist to all link types
Browse files Browse the repository at this point in the history
  • Loading branch information
iparamonau committed Sep 12, 2024
1 parent 805c1f9 commit 559df2a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/plugins/validators/sync/01_ignorelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ export default {
prepareLink: function(whitelistRecord, options, link, plugin) {

if (!link.error
&& link.accept // for ones that require validations for now, e.g. MP4 videos
&& link.href
&& CONFIG.IGNORE_DOMAINS_RE && CONFIG.IGNORE_DOMAINS_RE instanceof Array
&& CONFIG.IGNORE_DOMAINS_RE.some(function(re) {
Expand Down

0 comments on commit 559df2a

Please sign in to comment.