Skip to content

Commit

Permalink
chore(package): upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tcort committed Mar 10, 2024
1 parent 7e159ea commit 2eb21a1
Show file tree
Hide file tree
Showing 3 changed files with 528 additions and 349 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = function markdownLinkCheck(markdown, opts, callback) {
}, markdown);
}

const { links, anchors } = markdownLinkExtractor(markdown);
const links = markdownLinkExtractor(markdown);
const linksCollection = _.uniq(links);
const bar = (opts.showProgressBar) ?
new ProgressBar('Checking... [:bar] :percent', {
Expand All @@ -71,8 +71,6 @@ module.exports = function markdownLinkCheck(markdown, opts, callback) {
total: linksCollection.length
}) : undefined;

opts.anchors = anchors;

async.mapLimit(linksCollection, 2, function (link, callback) {
if (opts.ignorePatterns) {
const shouldIgnore = opts.ignorePatterns.some(function(ignorePattern) {
Expand Down
Loading

0 comments on commit 2eb21a1

Please sign in to comment.