Skip to content

Commit 2eb21a1

Browse files
committed
chore(package): upgrade dependencies
1 parent 7e159ea commit 2eb21a1

File tree

3 files changed

+528
-349
lines changed

3 files changed

+528
-349
lines changed

index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ module.exports = function markdownLinkCheck(markdown, opts, callback) {
6161
}, markdown);
6262
}
6363

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

74-
opts.anchors = anchors;
75-
7674
async.mapLimit(linksCollection, 2, function (link, callback) {
7775
if (opts.ignorePatterns) {
7876
const shouldIgnore = opts.ignorePatterns.some(function(ignorePattern) {

0 commit comments

Comments
 (0)