We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 62c5336 + 641b837 commit 6a832abCopy full SHA for 6a832ab
markdown-link-check
@@ -64,6 +64,8 @@ function getInputs() {
64
}
65
66
67
+ const { ignore } = program.opts();
68
+
69
for (const filenameOrUrl of filenamesOrUrls) {
70
filenameForOutput = filenameOrUrl;
71
let baseUrl = '';
@@ -94,7 +96,7 @@ function getInputs() {
94
96
95
97
// skip paths given if it includes a path to ignore.
98
// todo: allow ignore paths to be glob or regex instead of just includes?
- if (program.opts().ignore.some((ignorePath) => resolved.includes(ignorePath))) {
99
+ if (ignore && ignore.some((ignorePath) => resolved.includes(ignorePath))) {
100
continue;
101
102
0 commit comments