markdown_link_checker_sc 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -34,10 +34,9 @@ program
|
|
|
34
34
|
const options = program.opts();
|
|
35
35
|
|
|
36
36
|
if (options.log == "quick") {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
console.log(file)
|
|
37
|
+
for (const file of options.files) {
|
|
38
|
+
console.log(file);
|
|
39
|
+
}
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
const isMarkdown = (file) => path.extname(file).toLowerCase() === ".md";
|
|
@@ -405,7 +404,6 @@ function filterErrors(errors) {
|
|
|
405
404
|
return filteredErrors;
|
|
406
405
|
}
|
|
407
406
|
|
|
408
|
-
|
|
409
407
|
function outputErrors(results) {
|
|
410
408
|
//console.log(results.allErrors);
|
|
411
409
|
|